You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have run into an issue where npm test which works perfectly with current stable CRA doesn't work with CRA3 if the testing instructions in the docs are followed.
I have created a repro showcasing this deterministically, just run npm test in it.
I have run into an issue where
npm test
which works perfectly with current stable CRA doesn't work with CRA3 if the testing instructions in the docs are followed.I have created a repro showcasing this deterministically, just run
npm test
in it.The steps to reproduce are:
npm create-react-app . --typescript
npm install --save enzyme enzyme-adapter-react-16 react-test-renderer
npm install --save-dev @types/enzyme @types/enzyme-adapter-react-16
setupTests.ts
as per https://facebook.github.io/create-react-app/docs/running-tests#src-setuptestsjsnpm test
still works!npm install react-scripts@3.0.0-next.b0cbf2ca
Roadmap for version 3.0 #6475npm test
now says it cannot find any files!App.test.tsx
sits right there.Now sure if this is caused by TypeScript or not, I have not tried to see if this reproduces with the JavaScript version of CRA3.
The text was updated successfully, but these errors were encountered: