FoseFx/twitch-chatbot-boilerplate-core

View on GitHub
.jest/preload.js

Summary

Maintainability
A
0 mins
Test Coverage
global.console = {
  info: jest.fn(),
  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,
  warn: console.warn,
  debug: console.debug,
};