diff options
Diffstat (limited to 'cli/js/testing.ts')
| -rw-r--r-- | cli/js/testing.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/js/testing.ts b/cli/js/testing.ts index 09acdc23d..fc32fd604 100644 --- a/cli/js/testing.ts +++ b/cli/js/testing.ts @@ -333,11 +333,10 @@ async function runTests({ const filterFn = createFilterFn(filter, skip); const testApi = new TestApi(TEST_REGISTRY, filterFn, failFast); - // @ts-ignore const originalConsole = globalThis.console; if (disableLog) { - // @ts-ignore + // @ts-expect-error globalThis.console = disabledConsole; } @@ -356,7 +355,6 @@ async function runTests({ } if (disableLog) { - // @ts-ignore globalThis.console = originalConsole; } |
