This commit is contained in:
parent
7a9bf3199a
commit
c294e2e9ae
5702 changed files with 465039 additions and 34 deletions
14
backend/jest.config.js
Normal file
14
backend/jest.config.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
export default {
|
||||
testEnvironment: 'node',
|
||||
transform: {
|
||||
'^.+\\.js$': 'babel-jest'
|
||||
},
|
||||
testMatch: [
|
||||
'**/tests/**/*.test.js',
|
||||
'**/__tests__/**/*.js'
|
||||
],
|
||||
moduleNameMapper: {
|
||||
'^src/(.*)$': '<rootDir>/src/$1',
|
||||
'^backend/(.*)$': '<rootDir>/$1'
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue