Log messages for streaming debug

This commit is contained in:
simojenki
2021-06-19 13:15:35 +10:00
parent e6378de25d
commit cb987aeacb
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
global.console = {
// log: console.log,
log: jest.fn(), // console.log are ignored in tests
log: console.log,
//log: jest.fn(), // console.log are ignored in tests
// Keep native behaviour for other methods, use those to print out things in your own tests, not `console.log`
error: console.error,