diff options
Diffstat (limited to 'std/testing/runner.ts')
-rwxr-xr-x | std/testing/runner.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/std/testing/runner.ts b/std/testing/runner.ts index 9aa31cb4a..0abc6012b 100755 --- a/std/testing/runner.ts +++ b/std/testing/runner.ts @@ -75,7 +75,7 @@ export async function* findTestModules( exclude: excludePaths, includeDirs: true, extended: true, - globstar: true + globstar: true, }; async function* expandDirectory(d: string): AsyncIterableIterator<string> { @@ -83,7 +83,7 @@ export async function* findTestModules( for await (const walkInfo of expandGlob(dirGlob, { ...expandGlobOpts, root: d, - includeDirs: false + includeDirs: false, })) { yield filePathToUrl(walkInfo.filename); } @@ -170,7 +170,7 @@ export async function runTestModules({ exitOnFail = false, only = /[^\s]/, skip = /^\s*$/, - disableLog = false + disableLog = false, }: RunTestModulesOptions = {}): Promise<void> { let moduleCount = 0; const testModules = []; @@ -235,7 +235,7 @@ export async function runTestModules({ exitOnFail, only, skip, - disableLog + disableLog, }); } @@ -247,14 +247,14 @@ async function main(): Promise<void> { exclude: ["e"], failfast: ["f"], help: ["h"], - quiet: ["q"] + quiet: ["q"], }, default: { "allow-none": false, failfast: false, help: false, - quiet: false - } + quiet: false, + }, }); if (parsedArgs.help) { return showHelp(); @@ -277,7 +277,7 @@ async function main(): Promise<void> { exclude, allowNone, disableLog, - exitOnFail: true + exitOnFail: true, }); } catch (error) { if (!disableLog) { |