diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-05-04 14:23:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 14:23:06 -0400 |
commit | 6c02b061ce157b9fc3d20f9bcace0bc6638290d3 (patch) | |
tree | 811310674a76ee8ce5761cec3ee711012e542fcf /cli/js/tests/dir_test.ts | |
parent | 191c59a5912121fb9062aff6a08b1cc110674044 (diff) |
stabilize Deno.cwd and require --allow-read (#5068)
Diffstat (limited to 'cli/js/tests/dir_test.ts')
-rw-r--r-- | cli/js/tests/dir_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); }); |