caolan / caolan/nodeunit

test.throws doesn't seem to be up to date

Open
#100 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
359
PR merge metrics
No merged PRs in 30d

Description

Hello,

I noticed test.throws in nodeunit is not working the same as the node 0.4.11 assert.throws detailed here: http://nodejs.org/docs/v0.4.11/api/all.html#assert.throws

I am using nodeunit 0.5.4.

I will be sending a pull request shortly...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the nodeunit test.throws entry point and compare its behavior with the Node 0.4.11 assert.throws documentation linked in the issue. Confirm the expected matching and failure behavior, then verify that nodeunit follows that documented contract with relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.