Skip to content

Commit

Permalink
Merge f08538e into 09c2b8e
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister authored Jan 2, 2021
2 parents 09c2b8e + f08538e commit f5e25ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/polyfills.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ chai.use((chai, util) => {
// and support for Map and Set objects.
//
function patchConsole(method) {
const original = window.console[method];
window.console[method] = (...args) => {
// @ts-ignore
// eslint-disable-next-line no-undef
__karma__.log(method, serializeConsoleArgs(args));
original.apply(window.console, args);
};
}

Expand Down

0 comments on commit f5e25ff

Please sign in to comment.