mirror of
https://github.com/denoland/deno.git
synced 2025-09-25 03:42:30 +00:00
feat: deno test --filter (#4570)
This commit is contained in:
parent
ff0b32f81d
commit
c738797944
6 changed files with 325 additions and 289 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue