diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-11 17:24:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 17:24:27 +0100 |
commit | 61273085e40fb4d992eef4b1b5601e3567c80664 (patch) | |
tree | 1ac0f401d4cb897bdb6f88e3a5c47fece2856f89 /std/testing/bench_test.ts | |
parent | e0bcecee6042b219c6626172851af5a25362b948 (diff) |
refactor: rewrite tests in std/ to use Deno.test (#3930)
Diffstat (limited to 'std/testing/bench_test.ts')
-rw-r--r-- | std/testing/bench_test.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/std/testing/bench_test.ts b/std/testing/bench_test.ts index 8af2f0d6d..b384b21f7 100644 --- a/std/testing/bench_test.ts +++ b/std/testing/bench_test.ts @@ -1,4 +1,4 @@ -import { test, runIfMain } from "./mod.ts"; +const { test } = Deno; import { bench, runBenchmarks } from "./bench.ts"; import "./bench_example.ts"; @@ -56,5 +56,3 @@ test(async function benching(): Promise<void> { await runBenchmarks({ skip: /throw/ }); }); - -runIfMain(import.meta); |