Skip to content

test: migrate assert throws message test to JS#63239

Open
raashish1601 wants to merge 1 commit into
nodejs:mainfrom
raashish1601:codex/migrate-assert-throws-message
Open

test: migrate assert throws message test to JS#63239
raashish1601 wants to merge 1 commit into
nodejs:mainfrom
raashish1601:codex/migrate-assert-throws-message

Conversation

@raashish1601
Copy link
Copy Markdown

Refs: #47707

Migrate the assert_throws_stack message test from the legacy Python message runner to the snapshot-based JS output suite.

The fixture now lives under test/fixtures/errors, has a .snapshot file, and is covered by test/parallel/test-node-output-errors.mjs.

Testing:

  • node --test --test-name-pattern assert_throws_stack test/parallel/test-node-output-errors.mjs
  • node tools/eslint/node_modules/eslint/bin/eslint.js --max-warnings=0 --report-unused-disable-directives --rule "@stylistic/js/linebreak-style: 0" test/fixtures/errors/assert_throws_stack.js test/parallel/test-node-output-errors.mjs

Signed-off-by: Raashish Aggarwal <94279692+raashish1601@users.noreply.github.com>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants