summaryrefslogtreecommitdiff
path: root/std/http/cookie_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/http/cookie_test.ts')
-rw-r--r--std/http/cookie_test.ts7
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 = {};