I updated to the new release 3.2.0 and facing now some test errors because of a "missing" file.
FAIL src/Component/ProjectMeasuringCriteria/index.test.tsx
● Test suite failed to run
Cannot find module './action' from 'index.js'
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:221:17)
at Object.<anonymous> (node_modules/typesafe-actions/dist/index.js:4:16)
Looks like the path to the actions.d.ts file is wrong.
Steps to Reproduce
Create a new project with create-app, use redux and typesafe-actions and run some tests with jest.
Description
I updated to the new release 3.2.0 and facing now some test errors because of a "missing" file.
Looks like the path to the
actions.d.ts
file is wrong.Steps to Reproduce
Create a new project with create-app, use redux and typesafe-actions and run some tests with jest.
Expected behavior
Project Dependencies
{ "compilerOptions": { "target": "es5", "lib": [ "dom", "dom.iterable", "esnext" ], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": false, "forceConsistentCasingInFileNames": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "preserve" }, "include": [ "src" ] }