forked from Github/frigate
test(web): add unit test framework
This commit is contained in:
committed by
Blake Blackshear
parent
daa759cc55
commit
a803ab8577
9
web/jest.config.js
Normal file
9
web/jest.config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
moduleFileExtensions: ['js', 'jsx'],
|
||||
name: 'react-component-benchmark',
|
||||
resetMocks: true,
|
||||
roots: ['<rootDir>'],
|
||||
setupFilesAfterEnv: ['<rootDir>/config/setupTests.js'],
|
||||
testEnvironment: 'jsdom',
|
||||
timers: 'fake',
|
||||
};
|
||||
Reference in New Issue
Block a user