summaryrefslogtreecommitdiff
path: root/std/http/cookie_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-02-11 17:24:27 +0100
committerGitHub <noreply@github.com>2020-02-11 17:24:27 +0100
commit61273085e40fb4d992eef4b1b5601e3567c80664 (patch)
tree1ac0f401d4cb897bdb6f88e3a5c47fece2856f89 /std/http/cookie_test.ts
parente0bcecee6042b219c6626172851af5a25362b948 (diff)
refactor: rewrite tests in std/ to use Deno.test (#3930)
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 5f51a6d32..5e29fede7 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, delCookie, setCookie } from "./cookie.ts";
import { assert, assertEquals } from "../testing/asserts.ts";
-import { test } from "../testing/mod.ts";
-test({
+Deno.test({
name: "[HTTP] Cookie parser",
fn(): void {
const req = new ServerRequest();
@@ -32,7 +31,7 @@ test({
}
});
-test({
+Deno.test({
name: "[HTTP] Cookie Delete",
fn(): void {
const res: Response = {};
@@ -44,7 +43,7 @@ test({
}
});
-test({
+Deno.test({
name: "[HTTP] Cookie Set",
fn(): void {
const res: Response = {};