npm install
- Go through project setup
- In
./tests/unit/dynamic-import.spec.js
delete or comment line 7 - Run
npm run test:unit
- Note successful run of 2 tests
- Run
npm run test:unit -- --watchAll
- Note successful run of 2 tests and watch mode working
- Run
npm run test:unit -- --watch
- Note crash with the following error:
Configuration error: Could not locate module @/lang/${locale} mapped as: /Users/mpietz/Git/jest-dynamic-import-bug/src/lang/${locale}.