forked from apache/couchdb-fauxton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest-config.json
24 lines (19 loc) · 889 Bytes
/
jest-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"roots": ["app"],
"testPathIgnorePatterns": ["/node_modules/", "stub", "fakeActiveTaskResponse", "fixtures", "sampleexplainplan"],
"setupFiles": ["./jest-shim.js"],
"setupFilesAfterEnv": ["./jest-setup.js"],
"moduleNameMapper": {
"underscore": "lodash",
"ace-builds": "<rootDir>/node_modules/ace-builds",
"fetch-mock": "<rootDir>/node_modules/fetch-mock/dist/cjs/index.js",
"./ace-mode-mango.js": "<rootDir>/app/addons/components/components/ace-mode-mango.js",
"./ace-worker-mango.js": "<rootDir>/app/addons/components/components/ace-worker-mango.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|swf|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "<rootDir>/__mocks__/styleMock.js"
},
"testEnvironmentOptions": {
"url": "http://localhost:8000"
},
"testEnvironment": "jsdom"
}