summaryrefslogtreecommitdiff
path: root/cli/js/testing.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-06-02 14:24:44 +1000
committerGitHub <noreply@github.com>2020-06-02 00:24:44 -0400
commit3fe6bc1b82a10bed1d907b749b1cc200659df612 (patch)
tree02e14128039d015a7256494a50476f61785e6f33 /cli/js/testing.ts
parent8b1b4766a1e747437a2b88fcadc26162a1bec640 (diff)
fix: Better use of @ts-expect-error (#6038)
Diffstat (limited to 'cli/js/testing.ts')
-rw-r--r--cli/js/testing.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/testing.ts b/cli/js/testing.ts
index fc32fd604..ffe978888 100644
--- a/cli/js/testing.ts
+++ b/cli/js/testing.ts
@@ -336,8 +336,8 @@ async function runTests({
const originalConsole = globalThis.console;
if (disableLog) {
- // @ts-expect-error
- globalThis.console = disabledConsole;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ (globalThis as any).console = disabledConsole;
}
let endMsg: TestMessage["end"];