diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-11 12:01:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 12:01:56 +0100 |
commit | a3bfbcceade3d359f677106399562b461b4af01a (patch) | |
tree | 93f6fcc56d98bbc0f71f5b5782381f672895f634 /cli/js/net_test.ts | |
parent | 701ce9b3342647cf01cb23c4fc28bc99ce0aa8c1 (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/net_test.ts')
-rw-r--r-- | cli/js/net_test.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/js/net_test.ts b/cli/js/net_test.ts index 7f5334df3..e4d0be81f 100644 --- a/cli/js/net_test.ts +++ b/cli/js/net_test.ts @@ -1,6 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; -import { runIfMain } from "../../std/testing/mod.ts"; testPerm({ net: true }, function netListenClose(): void { const listener = Deno.listen({ hostname: "127.0.0.1", port: 4500 }); @@ -240,5 +239,3 @@ testPerm({ net: true }, async function netDoubleCloseWrite() { conn.close(); }); */ - -runIfMain(import.meta); |