Avoid CORS problem running docker project

This commit is contained in:
apanizo 2018-08-08 17:21:05 +02:00
parent 842398ef57
commit 0212bcb162

View File

@ -128,7 +128,7 @@
"<rootDir>/src/**/?(*.)(spec|test).js?(x)" "<rootDir>/src/**/?(*.)(spec|test).js?(x)"
], ],
"testEnvironment": "node", "testEnvironment": "node",
"testURL": "https://safe-react", "testURL": "http://localhost:8000",
"transform": { "transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest", "^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.(css|scss)$": "<rootDir>/config/jest/cssTransform.js", "^.+\\.(css|scss)$": "<rootDir>/config/jest/cssTransform.js",