diff options
Diffstat (limited to 'std/testing/runner.ts')
-rwxr-xr-x | std/testing/runner.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/std/testing/runner.ts b/std/testing/runner.ts index 17d5942f8..8d6501e02 100755 --- a/std/testing/runner.ts +++ b/std/testing/runner.ts @@ -3,7 +3,6 @@ import { parse } from "../flags/mod.ts"; import { ExpandGlobOptions, expandGlob } from "../fs/mod.ts"; import { isWindows, join } from "../path/mod.ts"; -import { RunTestsOptions, runTests } from "./mod.ts"; const { DenoError, ErrorKind, args, cwd, exit } = Deno; const DIR_GLOBS = [join("**", "?(*_)test.{js,ts}")]; @@ -110,7 +109,7 @@ export async function* findTestModules( yield* includeUrls.filter(shouldIncludeUrl); } -export interface RunTestModulesOptions extends RunTestsOptions { +export interface RunTestModulesOptions extends Deno.RunTestsOptions { include?: string[]; exclude?: string[]; allowNone?: boolean; @@ -168,7 +167,6 @@ export async function runTestModules({ include = ["."], exclude = [], allowNone = false, - parallel = false, exitOnFail = false, only = /[^\s]/, skip = /^\s*$/, @@ -233,8 +231,7 @@ export async function runTestModules({ console.log(`Found ${moduleCount} matching test modules.`); } - await runTests({ - parallel, + await Deno.runTests({ exitOnFail, only, skip, |