From 1fff6f55c3ba98a10018c6d374795e612061e9b6 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 12 Jun 2020 20:23:38 +0100 Subject: refactor: Don't destructure the Deno namespace (#6268) --- std/node/_fs/_fs_mkdir_test.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'std/node/_fs/_fs_mkdir_test.ts') diff --git a/std/node/_fs/_fs_mkdir_test.ts b/std/node/_fs/_fs_mkdir_test.ts index 7e9d4859f..8909d85de 100644 --- a/std/node/_fs/_fs_mkdir_test.ts +++ b/std/node/_fs/_fs_mkdir_test.ts @@ -1,14 +1,11 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. - import { assert } from "../../testing/asserts.ts"; import { mkdir, mkdirSync } from "./_fs_mkdir.ts"; import { existsSync } from "./_fs_exists.ts"; -const { test } = Deno; - const tmpDir = "./tmpdir"; -test({ +Deno.test({ name: "[node/fs] mkdir", fn: async () => { const result = await new Promise((resolve) => { @@ -22,7 +19,7 @@ test({ }, }); -test({ +Deno.test({ name: "[node/fs] mkdirSync", fn: () => { mkdirSync(tmpDir); -- cgit v1.2.3