Repository navigation
v2.4.5
node:test receipts count every test: a failing top-level test beside a describe is no longer dropped, and nested describes are counted in full.
Fixed
- node:test JUnit reports (
--test-reporter=junit) are counted by their<testcase>s. node counts a nesteddescribeas one test in its parent, and puts top-level tests beside its suites, so a run with adescribewas miscounted: a failing top-level test was dropped and the receipt said PASSED. Now counted when suites are nested, or when there are more testcases than the suites count. Other reports are read as before.