mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 20:25:12 -05:00
Allow filtering of unit tests.
This commit is contained in:
parent
4cadf6e609
commit
0c2abb9339
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue