diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-08-29 00:48:07 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-08-29 12:05:58 -0400 |
commit | 0c2abb9339b3b24080c7a5371421379874754f6d (patch) | |
tree | c097048a75e84375fb30e9b71829b435664799c2 /js/test_util.ts | |
parent | 4cadf6e6096de374c67d18e26422c5d452539b31 (diff) |
Allow filtering of unit tests.
Diffstat (limited to 'js/test_util.ts')
-rw-r--r-- | js/test_util.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/test_util.ts b/js/test_util.ts index 7124222a7..116b96ff2 100644 --- a/js/test_util.ts +++ b/js/test_util.ts @@ -12,9 +12,7 @@ import * as testing from "./testing/testing.ts"; export { assert, assertEqual } from "./testing/testing.ts"; // testing.setFilter must be run before any tests are defined. -const permFilter = deno.argv[1]; -permFromString(permFilter); -testing.setFilter(permFilter); +testing.setFilter(deno.argv[1]); interface DenoPermissions { write?: boolean; |