Compare commits
2 Commits
b78929b566
...
3998d43041
| Author | SHA1 | Date | |
|---|---|---|---|
|
3998d43041
|
|||
|
d680d16a76
|
1
jest/setEnvVars.js
Normal file
1
jest/setEnvVars.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
process.env.API_ROOT = "http://localhost:8080/";
|
||||||
11
package.json
11
package.json
@@ -10,6 +10,9 @@
|
|||||||
"name": "Deepak Mallubhotla"
|
"name": "Deepak Mallubhotla"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
"setupFiles": [
|
||||||
|
"<rootDir>/jest/setEnvVars.js"
|
||||||
|
],
|
||||||
"reporters": [
|
"reporters": [
|
||||||
"default",
|
"default",
|
||||||
"jest-junit"
|
"jest-junit"
|
||||||
@@ -17,7 +20,13 @@
|
|||||||
"coverageReporters": [
|
"coverageReporters": [
|
||||||
"text",
|
"text",
|
||||||
"cobertura"
|
"cobertura"
|
||||||
]
|
],
|
||||||
|
"collectCoverage": true,
|
||||||
|
"collectCoverageFrom": [
|
||||||
|
"<rootDir>/src/**/*.jsx",
|
||||||
|
"!<rootDir>/src/**/*.test.jsx"
|
||||||
|
],
|
||||||
|
"coverageProvider": "babel"
|
||||||
},
|
},
|
||||||
"private": "true",
|
"private": "true",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|||||||
Reference in New Issue
Block a user