diff options
Diffstat (limited to 'std/node/_fs/_fs_copy_test.ts')
-rw-r--r-- | std/node/_fs/_fs_copy_test.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/std/node/_fs/_fs_copy_test.ts b/std/node/_fs/_fs_copy_test.ts index f7ce0e279..891e80784 100644 --- a/std/node/_fs/_fs_copy_test.ts +++ b/std/node/_fs/_fs_copy_test.ts @@ -1,13 +1,11 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +import { assert } from "../../testing/asserts.ts"; import { copyFile, copyFileSync } from "./_fs_copy.ts"; import { existsSync } from "./_fs_exists.ts"; -import { assert } from "../../testing/asserts.ts"; -const { test } = Deno; - const destFile = "./destination.txt"; -test({ +Deno.test({ name: "[std/node/fs] copy file", fn: async () => { const sourceFile = Deno.makeTempFileSync(); @@ -21,7 +19,7 @@ test({ }, }); -test({ +Deno.test({ name: "[std/node/fs] copy file sync", fn: () => { const sourceFile = Deno.makeTempFileSync(); |