From 6c02b061ce157b9fc3d20f9bcace0bc6638290d3 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 4 May 2020 14:23:06 -0400 Subject: stabilize Deno.cwd and require --allow-read (#5068) --- cli/js/tests/dir_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/js/tests') diff --git a/cli/js/tests/dir_test.ts b/cli/js/tests/dir_test.ts index 3686471f1..dc05d9564 100644 --- a/cli/js/tests/dir_test.ts +++ b/cli/js/tests/dir_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { unitTest, assert, assertEquals } from "./test_util.ts"; -unitTest(function dirCwdNotNull(): void { +unitTest({ perms: { read: true } }, function dirCwdNotNull(): void { assert(Deno.cwd() != null); }); -- cgit v1.2.3