Skip to content

doc(test-runner): add example for mocking errors - #64995

Closed
aalhadxx wants to merge 1 commit into
nodejs:mainfrom
aalhadxx:fix/issue-52357
Closed

doc(test-runner): add example for mocking errors#64995
aalhadxx wants to merge 1 commit into
nodejs:mainfrom
aalhadxx:fix/issue-52357

Conversation

@aalhadxx

@aalhadxx aalhadxx commented Aug 4, 2026

Copy link
Copy Markdown

Fixes issue #52357

🤖 Generated with Claude Code

Add an example demonstrating how to mock a function that throws an error
and verify it using assert.throws.

Fixes: nodejs#52357
Co-Authored-By: Claude <noreply@anthropic.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. test_runner Issues and PRs related to the test runner subsystem. labels Aug 4, 2026
@avivkeller avivkeller closed this Aug 4, 2026
@avivkeller

Copy link
Copy Markdown
Member

The issue this is fixing is already closed, and you didn't sign your commits, nor follow our PR and commit guidelines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. test_runner Issues and PRs related to the test runner subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants