Skip to content

Conversation

@MoLow
Copy link
Member

@MoLow MoLow commented Apr 24, 2023

Fixes: #47696

this also improves the test for #46577

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Apr 24, 2023
# Warning: Test "callback async throw after done" generated asynchronous activity after the test ended. This activity created the error "Error: thrown from callback async throw after done" and would have caused the test to fail, but instead triggered an uncaughtException event.
1..66
# tests 80
# Subtest: last test
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on main, this diff would have been:

diff --git a/test/fixtures/test-runner/output/output_cli.snapshot b/test/fixtures/test-runner/output/output_cli.snapshot
index 1d2ea1db9f..a4d54b29cd 100644
--- a/test/fixtures/test-runner/output/output_cli.snapshot
+++ b/test/fixtures/test-runner/output/output_cli.snapshot
@@ -675,7 +675,7 @@ not ok 66 - invalid subtest fail
 # Subtest: last test
-ok 2 - last test
+ok 67 - last test
   ---
   duration_ms: *
   ..

@MoLow MoLow requested review from benjamingr and cjihrig April 24, 2023 14:15
@MoLow MoLow added the test_runner Issues and PRs related to the test runner subsystem. label Apr 24, 2023
@MoLow MoLow force-pushed the fix-test-runner-count branch 2 times, most recently from dd2cd39 to c07254f Compare April 24, 2023 16:58
@MoLow
Copy link
Member Author

MoLow commented Apr 24, 2023

superseded by #47675

@MoLow MoLow closed this Apr 24, 2023
@MoLow MoLow deleted the fix-test-runner-count branch April 24, 2023 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nested test counting is wrong

3 participants