got this fail on ANY es6/require() exporting to jest test file:
const path = require('path');
Fail src\util\datetime.test.js
TypeError: Path must be a string. Rrecieved undefined
at assertPath(path.js:8:11)
at Object.win32.relative(path.js:256:3)
Node 4.5.0, npm 2.15.9
Jest 19.0.0, babel-jest: 21.2.0
answer in babel-jest and babel-preset-jest version. When i lower version of this packages, all works well
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With