summaryrefslogtreecommitdiff
path: root/cli/js/tests/unit_test_runner.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-04-02 09:26:40 -0400
committerGitHub <noreply@github.com>2020-04-02 09:26:40 -0400
commitc738797944bc7e373b51a04e4332c98010135545 (patch)
treef7f91ebd13df71f125588c9261eba912f27ddc30 /cli/js/tests/unit_test_runner.ts
parentff0b32f81d4cdbae9fe868a16a8b19227d79c8b1 (diff)
feat: deno test --filter (#4570)
Diffstat (limited to 'cli/js/tests/unit_test_runner.ts')
-rwxr-xr-xcli/js/tests/unit_test_runner.ts4
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();