summaryrefslogtreecommitdiff
path: root/runtime/js/40_testing.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/40_testing.js')
-rw-r--r--runtime/js/40_testing.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/js/40_testing.js b/runtime/js/40_testing.js
index c4321c748..fdd044503 100644
--- a/runtime/js/40_testing.js
+++ b/runtime/js/40_testing.js
@@ -871,12 +871,6 @@
});
}
- function reportTestConsoleOutput(console) {
- core.opSync("op_dispatch_test_event", {
- output: { console },
- });
- }
-
function reportTestWait(test) {
core.opSync("op_dispatch_test_event", {
wait: test,
@@ -955,9 +949,6 @@
core.setMacrotaskCallback(handleOpSanitizerDelayMacrotask);
const origin = getTestOrigin();
- const originalConsole = globalThis.console;
-
- globalThis.console = new Console(reportTestConsoleOutput);
const only = ArrayPrototypeFilter(tests, (test) => test.only);
const filtered = ArrayPrototypeFilter(
@@ -1004,8 +995,6 @@
reportTestResult(description, result, elapsed);
}
-
- globalThis.console = originalConsole;
}
async function runBenchmarks({