summaryrefslogtreecommitdiff
path: root/cli/js/tls_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-02-11 12:01:56 +0100
committerGitHub <noreply@github.com>2020-02-11 12:01:56 +0100
commita3bfbcceade3d359f677106399562b461b4af01a (patch)
tree93f6fcc56d98bbc0f71f5b5782381f672895f634 /cli/js/tls_test.ts
parent701ce9b3342647cf01cb23c4fc28bc99ce0aa8c1 (diff)
refactor: rewrite deno test, add Deno.test() (#3865)
* rewrite test runner in Rust * migrate "test" and "runTests" functions from std to "Deno" namespace * use "Deno.test()" to run internal JS unit tests * remove std downloads for Deno subcommands
Diffstat (limited to 'cli/js/tls_test.ts')
-rw-r--r--cli/js/tls_test.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/js/tls_test.ts b/cli/js/tls_test.ts
index de841f5a1..1273da34f 100644
--- a/cli/js/tls_test.ts
+++ b/cli/js/tls_test.ts
@@ -2,7 +2,6 @@
import { test, testPerm, assert, assertEquals } from "./test_util.ts";
import { BufWriter, BufReader } from "../../std/io/bufio.ts";
import { TextProtoReader } from "../../std/textproto/mod.ts";
-import { runIfMain } from "../../std/testing/mod.ts";
const encoder = new TextEncoder();
const decoder = new TextDecoder();
@@ -202,5 +201,3 @@ testPerm({ read: true, net: true }, async function dialAndListenTLS(): Promise<
assertEquals(decoder.decode(bodyBuf), "Hello World\n");
conn.close();
});
-
-runIfMain(import.meta);