31 lines
820 B
JSON
31 lines
820 B
JSON
{
|
|
"rootDir": "..",
|
|
"coverageDirectory": "<rootDir>/tests/jest/__coverage__/",
|
|
"setupFiles": [
|
|
"<rootDir>/tests/jest/__mocks__/shim.js"
|
|
],
|
|
"roots": [
|
|
"<rootDir>/src/",
|
|
"<rootDir>/tests/jest/"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/jest/__mocks__/fileMock.js",
|
|
"\\.(css|scss|less)$": "<rootDir>/tests/jest/__mocks__/styleMock.js"
|
|
},
|
|
"moduleFileExtensions": ["ts", "tsx", "js", "jsx"],
|
|
"transform": {
|
|
"^.+\\.(ts|tsx)$": "<rootDir>/configs/jest.preprocessor.js"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"/node_modules/"
|
|
],
|
|
"testRegex": "/tests/jest/.*\\.(ts|tsx)$",
|
|
"moduleDirectories": [
|
|
"node_modules"
|
|
],
|
|
"globals": {
|
|
"DEVELOPMENT": false,
|
|
"FAKE_SERVER": false
|
|
}
|
|
}
|