diff options
author | Nayeem Rahman <muhammed.9939@gmail.com> | 2020-03-10 16:08:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-10 12:08:58 -0400 |
commit | 6443e4aed16868c17111a56634aa733211430f46 (patch) | |
tree | 8ecbe4d75592fcc78a147b4d69fb61530a0ca2f8 /std/testing | |
parent | fbc4731256a698c07d0d842575d3678d7dc58715 (diff) |
refactor: Cleanup options object parameters (#4296)
Diffstat (limited to 'std/testing')
-rw-r--r-- | std/testing/bench.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/testing/bench.ts b/std/testing/bench.ts index c76c1bd7c..5cec3ea39 100644 --- a/std/testing/bench.ts +++ b/std/testing/bench.ts @@ -171,7 +171,7 @@ export async function runBenchmarks({ /** Runs specified benchmarks if the enclosing script is main. */ export async function runIfMain( meta: ImportMeta, - opts?: BenchmarkRunOptions + opts: BenchmarkRunOptions = {} ): Promise<void> { if (meta.main) { return runBenchmarks(opts); |