diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-06-12 20:23:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 15:23:38 -0400 |
commit | 1fff6f55c3ba98a10018c6d374795e612061e9b6 (patch) | |
tree | 12074b6d44736b11513d857e437f9e30a6bf65a4 /std/http/cookie_test.ts | |
parent | 26bf56afdaf16634ffbaa23684faf3a44cc10f62 (diff) |
refactor: Don't destructure the Deno namespace (#6268)
Diffstat (limited to 'std/http/cookie_test.ts')
-rw-r--r-- | std/http/cookie_test.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/std/http/cookie_test.ts b/std/http/cookie_test.ts index e221b3363..0b412d8e4 100644 --- a/std/http/cookie_test.ts +++ b/std/http/cookie_test.ts @@ -2,9 +2,8 @@ import { ServerRequest, Response } from "./server.ts"; import { getCookies, deleteCookie, setCookie } from "./cookie.ts"; import { assert, assertEquals } from "../testing/asserts.ts"; -const { test } = Deno; -test({ +Deno.test({ name: "Cookie parser", fn(): void { const req = new ServerRequest(); @@ -32,7 +31,7 @@ test({ }, }); -test({ +Deno.test({ name: "Cookie Delete", fn(): void { const res: Response = {}; @@ -44,7 +43,7 @@ test({ }, }); -test({ +Deno.test({ name: "Cookie Set", fn(): void { const res: Response = {}; |