squiggle/packages/components/test/setup.js

9 lines
193 B
JavaScript
Raw Normal View History

2022-09-30 00:22:14 +00:00
global.console = {
...console,
log: jest.fn(console.log),
debug: jest.fn(console.debug),
info: jest.fn(console.info),
warn: jest.fn(console.warn),
error: jest.fn(console.error),
};