[v4] What else has been changed in testing ?
See original GitHub issueI upgraded react-scripts
in my project from version 3.4.x
to 4.0.0
and testing isn’t like before.
I read the changelog, you said that you’ve upgraded to Jest 26 and now set resetMocks
to true
by default in the Jest config! (hmm, this isn’t expected), so, I added:
"resetMocks": false,
to make my tests work again. I fixed some other new Eslint
warning (and that’s okay)…
BUT, Now it covers only a part of the test suits!
I have 420 tests (551 suites) in the project,
"test": "react-scripts test --coverage --watchAll=true",
runs only 118 (25 suites)!
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
What's new in Selenium 4: Key Features | BrowserStack
What is new in Selenium 4 version? Read this article to understand about major changes in the new version of Selenium toolsuite -...
Read more >Features Added to TestComplete 4.0 - SmartBear Support
The entire project structure has been changed. Now projects consist of project items which you may use to perform various testing actions.
Read more >Adapter V4 Release Notes - NUnit Docs
NUnit3 Test Adapter for Visual Studio - Version 4.0.0 - June 6, 2021. This major release contains a series of changes, and also...
Read more >Types of Software Testing: Different Testing Types with Details
We, as testers, are aware of the various types of Software Testing like Functional Testing, Non-Functional Testing, Automation Testing, Agile ...
Read more >The different types of testing in software | Atlassian
It's much more robust and reliable than manual tests – but the quality of your automated tests depends on how well your test...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you please try setting
watchAll
tofalse
and let me know if that changes anything?I am getting: “Nothing was returned from render”