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"
|
||||
},
|
||||
"jest": {
|
||||
"setupFiles": [
|
||||
"<rootDir>/jest/setEnvVars.js"
|
||||
],
|
||||
"reporters": [
|
||||
"default",
|
||||
"jest-junit"
|
||||
@@ -17,7 +20,13 @@
|
||||
"coverageReporters": [
|
||||
"text",
|
||||
"cobertura"
|
||||
]
|
||||
],
|
||||
"collectCoverage": true,
|
||||
"collectCoverageFrom": [
|
||||
"<rootDir>/src/**/*.jsx",
|
||||
"!<rootDir>/src/**/*.test.jsx"
|
||||
],
|
||||
"coverageProvider": "babel"
|
||||
},
|
||||
"private": "true",
|
||||
"license": "ISC",
|
||||
|
||||
Reference in New Issue
Block a user