mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-22 01:43:29 +01:00
Listing devices and services on bonob page sourced from sonos devices
This commit is contained in:
9
tests/setup.js
Normal file
9
tests/setup.js
Normal file
@@ -0,0 +1,9 @@
|
||||
global.console = {
|
||||
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,
|
||||
info: console.info,
|
||||
debug: console.debug,
|
||||
};
|
||||
Reference in New Issue
Block a user