I'm useing Jest to test my React-App. I have a handfull of test suites already, but I can not get 2 of them running.
One Error Example:
FAIL react/utils/__tests__/ChartsUtils-tests.js (2.662s)
● ChartsUtils › it get labels for a date period
- Error: Failed to get mock metadata: /Users/nessie/Sites/blackriver-analytics-project/node_modules/core-js/modules/$.global.js
at Loader._generateMock (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:251:15)
at Object.eval (node_modules/core-js/modules/$.export.js:1:137)
at Object.eval (node_modules/core-js/modules/es5.js:3:25)
1 test failed, 0 tests passed (1 total in 1 test suite, run time 3.68s)
npm ERR! Test failed. See above for more details.
Aucun commentaire:
Enregistrer un commentaire