forked from RedHatInsights/patchman-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.js
More file actions
21 lines (21 loc) · 800 Bytes
/
Copy pathjest.config.js
File metadata and controls
21 lines (21 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = {
coverageDirectory: "coverage-jest",
testEnvironment: "jsdom",
transform: {
"^.+\\.(js|jsx)$": "babel-jest",
},
collectCoverage: true,
collectCoverageFrom: ["src/**/*.js", "!src/**/stories/*"],
setupFiles: ["<rootDir>/config/setupTests.js"],
roots: ["<rootDir>/src/"],
moduleNameMapper: {
"\\.(css|scss)$": "identity-obj-proxy",
},
testPathIgnorePatterns: [
"src/SmartComponents/SystemDetail/InventoryDetail.test.js",
"src/SmartComponents/PatchSet/PatchSet.test.js",
],
transformIgnorePatterns: [
"<rootDir>/node_modules/(?!(@patternfly/react-core/|@patternfly/react-icons/|@redhat-cloud-services|@openshift|lodash-es|@patternfly/react-table|@patternfly/react-tokens|p-all)).*$",
],
};