diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-02 09:26:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 09:26:40 -0400 |
commit | c738797944bc7e373b51a04e4332c98010135545 (patch) | |
tree | f7f91ebd13df71f125588c9261eba912f27ddc30 /cli/js/tests/unit_test_runner.ts | |
parent | ff0b32f81d4cdbae9fe868a16a8b19227d79c8b1 (diff) |
feat: deno test --filter (#4570)
Diffstat (limited to 'cli/js/tests/unit_test_runner.ts')
-rwxr-xr-x | cli/js/tests/unit_test_runner.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/tests/unit_test_runner.ts b/cli/js/tests/unit_test_runner.ts index 0232bb437..ed8b9dd80 100755 --- a/cli/js/tests/unit_test_runner.ts +++ b/cli/js/tests/unit_test_runner.ts @@ -68,7 +68,7 @@ async function workerRunnerMain( // Execute tests await Deno.runTests({ exitOnFail: false, - only: filter, + filter, reportToConsole: false, onMessage: reportToConn.bind(null, conn), }); @@ -296,7 +296,7 @@ async function main(): Promise<void> { // Running tests matching current process permissions await registerUnitTests(); - await Deno.runTests({ only: filter }); + await Deno.runTests({ filter }); } main(); |