diff options
Diffstat (limited to 'std/node')
-rw-r--r-- | std/node/events_test.ts | 2 | ||||
-rwxr-xr-x | std/node/fs_test.ts | 2 | ||||
-rw-r--r-- | std/node/module_test.ts | 2 | ||||
-rw-r--r-- | std/node/os_test.ts | 2 | ||||
-rw-r--r-- | std/node/process_test.ts | 2 | ||||
-rw-r--r-- | std/node/util_test.ts | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/std/node/events_test.ts b/std/node/events_test.ts index 0d8dd52e1..a2ed90112 100644 --- a/std/node/events_test.ts +++ b/std/node/events_test.ts @@ -1,4 +1,4 @@ -import { test } from "../testing/mod.ts"; +const { test } = Deno; import { assert, assertEquals, diff --git a/std/node/fs_test.ts b/std/node/fs_test.ts index c63891c44..9753d9520 100755 --- a/std/node/fs_test.ts +++ b/std/node/fs_test.ts @@ -1,5 +1,5 @@ +const { test } = Deno; import { readFile, readFileSync, readlink, readlinkSync } from "./fs.ts"; -import { test } from "../testing/mod.ts"; import * as path from "../path/mod.ts"; import { assertEquals, assert } from "../testing/asserts.ts"; diff --git a/std/node/module_test.ts b/std/node/module_test.ts index a869179dd..7415f1845 100644 --- a/std/node/module_test.ts +++ b/std/node/module_test.ts @@ -1,4 +1,4 @@ -import { test } from "../testing/mod.ts"; +const { test } = Deno; import { assertEquals, assert } from "../testing/asserts.ts"; import { createRequire } from "./module.ts"; diff --git a/std/node/os_test.ts b/std/node/os_test.ts index 65a9ef374..14d4e42ab 100644 --- a/std/node/os_test.ts +++ b/std/node/os_test.ts @@ -1,4 +1,4 @@ -import { test } from "../testing/mod.ts"; +const { test } = Deno; import { assert, assertThrows, diff --git a/std/node/process_test.ts b/std/node/process_test.ts index 0ddf71fbc..51dbcd630 100644 --- a/std/node/process_test.ts +++ b/std/node/process_test.ts @@ -1,4 +1,4 @@ -import { test } from "../testing/mod.ts"; +const { test } = Deno; import { assert, assertThrows, assertEquals } from "../testing/asserts.ts"; import { process } from "./process.ts"; diff --git a/std/node/util_test.ts b/std/node/util_test.ts index 45867f660..751dba57e 100644 --- a/std/node/util_test.ts +++ b/std/node/util_test.ts @@ -1,4 +1,4 @@ -import { test } from "../testing/mod.ts"; +const { test } = Deno; import { assert } from "../testing/asserts.ts"; import * as util from "./util.ts"; |