Added Jest test suite

This commit is contained in:
Zac Ioannidis
2020-12-14 13:30:49 +00:00
parent 1efd2ec15b
commit 02128ceed3
9 changed files with 48 additions and 22 deletions

11
src/setupTests.js Normal file
View File

@@ -0,0 +1,11 @@
// Add globals here
// ---
// In the example below we're providing no-ops for the logging functions
// global.console = {
// log: jest.fn(),
// error: jest.fn(),
// warn: jest.fn(),
// info: jest.fn(),
// debug: jest.fn(),
// };