mitmproxy/web/setup-jest.js
Matteo Luppi 40f345204c
Web: Show Local timezone in the Timing tab (#7804)
* show local datetime

* Add TZ=UTC in test script

* update changelog

* review changes

* [autofix.ci] apply automated fixes

* review changes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 08:08:30 +02:00

5 lines
145 B
JavaScript

const err = console.error;
console.warn = console.error = function () {
err.apply(console, arguments);
throw new Error(arguments[0]);
};