HELP WANTED: A simple unit test that webpack builds dont throw errors
See original GitHub issueas the number of examples grow, its getting very hard to verify everything works as i update dependencies.
If anyone would be willing to create a jest test that loops over the examples directory and runs a yarn build
if the build doesn’t error, its a pass.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Unit Testing - Webpack from Nothing
Ideally, we want the ability to: test our modules in isolation; execute a single test while we drive functionality in a module. run...
Read more >How to ignore test files in webpack with ts-loader
ts-loader by default compiles all ts files, even files Webpack isn't told to bundle, like test files for instance that will throw errors...
Read more >Unit test should fail if an element is not known #36430 - GitHub
I'm experiencing similar, where I just see a console error but the tests pass; however on our build server the tests fail as...
Read more >How I solved and debugged my Webpack issue through trial ...
by Margarita Obraztsova How I solved and debugged my Webpack issue through trial, error, and a little outside help.
Read more >jasmine an error was thrown in afterall - You.com
BlockI don't want to see this, for any search ... Angular 6 Unit Tests: An error was thrown in afterAll\nReferenceError: ... Hope it...
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
Ill likely want to extend it further to support E2E testing with jest-puppeteer or something to confirm dev and prod mode build + don’t error out in the client. @armujahid
Ill merge the build script and test it out, it’ll be helpful to run litmus checks at a very high level 😃
Thanks everyone! Sorry I didn’t expect a quick response 😁 I was right in the middle of the upgrade and that’s what caused me to reach out! Master was broken for a few hours after renovate not update everything. Half the battle is running them all 😂