mirror of
https://github.com/denoland/deno.git
synced 2025-02-08 15:21:26 -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";
|
export { assert, assertEqual } from "./testing/testing.ts";
|
||||||
|
|
||||||
// testing.setFilter must be run before any tests are defined.
|
// testing.setFilter must be run before any tests are defined.
|
||||||
const permFilter = deno.argv[1];
|
testing.setFilter(deno.argv[1]);
|
||||||
permFromString(permFilter);
|
|
||||||
testing.setFilter(permFilter);
|
|
||||||
|
|
||||||
interface DenoPermissions {
|
interface DenoPermissions {
|
||||||
write?: boolean;
|
write?: boolean;
|
||||||
|
|
Loading…
Add table
Reference in a new issue