summaryrefslogtreecommitdiff
path: root/cli/js/testing.ts
diff options
context:
space:
mode:
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"];