Files
pyscript/pyscript.core/tests/js-integration/issue-2093/error.js
Andrea Giammarchi 9f46234f71 Fix #2114 - Cleanup the test folder + automation (#2143)
* Fix #2114 - Cleanup the test folder + automation
* Merged both test and tests into a single folder
2024-08-08 17:08:59 +02:00

7 lines
133 B
JavaScript

const { error } = console;
console.error = (...args) => {
error(...args);
document.documentElement.classList.add('errored');
};