Comments (5)
I'm seeing the same issue as @i0natan. I'm not sure what the right fix is yet.
from jest-junit-reporter.
So I compared this to jest-html-reporter
and I found that it has the same behavior.
I realized over time that I had a ... || true
added to my test script to prevent the test script from failing if a testsuite failed to run, I realized that is my mistake. A testsuite failing to run is a critical error and my test script should fail as a result. The error message in that failure will tell me what testsuite failed.
from jest-junit-reporter.
Im not sure it is the responsibility of the test report formatter to alert you that your tests failed to run. This seems like it would be the responsibility of jest itself. In fact, jest provides a mechanism to ensure your test cases run as intended with expect.hasAssertions()
(see https://facebook.github.io/jest/docs/en/expect.html#expecthasassertions). Also, there is expect.assertions(Number)
(see https://facebook.github.io/jest/docs/en/expect.html#expectassertionsnumber)
from jest-junit-reporter.
Yea.. I dont think this is a bug
from jest-junit-reporter.
Closing this issue as it is not a bug with this module. See comment above for explanation.
from jest-junit-reporter.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jest-junit-reporter.