Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
kylo5aby
node
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
node
test
parallel
test-assert-fail.js
on
string_decoder
User selector
All users
Datepicker
All time
Commit history
Commits on May 2, 2022
assert: make `assert.fail` less affected by prototype tampering
Show description for 2b41f59
aduh95
authored
2b41f59
View commit details
Copy full SHA for 2b41f59
View code at this point
Browse repository at this point
Commits on May 5, 2019
assert: fix `assert.fail()` stack
Show description for 3593af0
BridgeAR
authored and
Trott
committed
3593af0
View commit details
Copy full SHA for 3593af0
View code at this point
Browse repository at this point
Commits on Mar 23, 2019
errors: update error name
Show description for 1ed3c54
BridgeAR
committed
1ed3c54
View commit details
Copy full SHA for 1ed3c54
View code at this point
Browse repository at this point
Commits on Sep 17, 2018
assert: add default operator to `assert.fail()`
Show description for eee5adf
BridgeAR
committed
eee5adf
View commit details
Copy full SHA for eee5adf
View code at this point
Browse repository at this point
Commits on Mar 25, 2018
assert: improve assert.throws
Show description for a1c96f8
BridgeAR
committed
a1c96f8
View commit details
Copy full SHA for a1c96f8
View code at this point
Browse repository at this point
Commits on Feb 2, 2018
assert: deprecate assert.fail partially
Show description for 70dcacd
BridgeAR
committed
70dcacd
View commit details
Copy full SHA for 70dcacd
View code at this point
Browse repository at this point
Commits on Dec 11, 2017
test: replace assert.throws w/ common.expectsError
Show description for 094bfaf
apapirovski
committed
094bfaf
View commit details
Copy full SHA for 094bfaf
View code at this point
Browse repository at this point
Commits on Sep 12, 2017
assert: support custom errors
Show description for e13d1df
geek
authored and
cjihrig
committed
e13d1df
View commit details
Copy full SHA for e13d1df
View code at this point
Browse repository at this point
Commits on Jul 30, 2017
test: fix error when foo in path to git clone
Show description for 1424e9e
SwimmingSage
authored and
addaleax
committed
1424e9e
View commit details
Copy full SHA for 1424e9e
View code at this point
Browse repository at this point
Commits on Jul 8, 2017
test: add optional throw fn to expectsError
Show description for d6fece1
BridgeAR
authored and
refack
committed
d6fece1
View commit details
Copy full SHA for d6fece1
View code at this point
Browse repository at this point
Commits on Jul 3, 2017
assert: refactor the code
Show description for 0455fff
BridgeAR
authored and
refack
committed
0455fff
View commit details
Copy full SHA for 0455fff
View code at this point
Browse repository at this point
Commits on Jul 2, 2017
assert: fix assert.fail with zero arguments
Show description for fc46363
BridgeAR
authored and
refack
committed
fc46363
View commit details
Copy full SHA for fc46363
View code at this point
Browse repository at this point
Commits on May 4, 2017
assert: fix AssertionError, assign error code
Show description for e48d58b
jasnell
committed
e48d58b
View commit details
Copy full SHA for e48d58b
View code at this point
Browse repository at this point
Commits on Apr 12, 2017
assert: improve assert.fail() API
Show description for 758b8b6
Trott
committed
758b8b6
View commit details
Copy full SHA for 758b8b6
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.