-
Notifications
You must be signed in to change notification settings - Fork 0
First test with enzyme.(Unit test) #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
SolvedRef: wmonk/create-react-app-typescript#185
Should be changed to:
It's quite strange, two setupTests.js file in the system, one is just under the root directory while the other is in the src directory. These two files have different content.
The second one has
But it works!! |
I try to avoid the duplications and delete one of them to see which is really needed.
I have already tried this, but it did not work at that time. Tricky!! I tried in another terminal, it works fine as well. |
Test code: app.test.js
Errors:
The text was updated successfully, but these errors were encountered: