Tests und Mock
This commit is contained in:
11
jest.config.js
Normal file
11
jest.config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports = {
|
||||
testEnvironment: 'node',
|
||||
testMatch: ['**/test/**/*.test.js'],
|
||||
collectCoverageFrom: [
|
||||
'server/**/*.js',
|
||||
'!server/config/**'
|
||||
],
|
||||
verbose: true,
|
||||
// Ignoriere console.log Warnings nach Tests
|
||||
setupFilesAfterEnv: ['<rootDir>/test/setup.js']
|
||||
};
|
||||
Reference in New Issue
Block a user