From c738797944bc7e373b51a04e4332c98010135545 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 2 Apr 2020 09:26:40 -0400 Subject: feat: deno test --filter (#4570) --- cli/js/tests/unit_test_runner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/tests') 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 { // Running tests matching current process permissions await registerUnitTests(); - await Deno.runTests({ only: filter }); + await Deno.runTests({ filter }); } main(); -- cgit v1.2.3