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
The definition provided for assert.ifError(value)here contains value, instead of AssertionError.
Actual Definition
Throws value if value is not undefined or null. This is useful when testing the error argument in callbacks. The stack trace contains all frames from the error passed to ifError() including the potential new frames for ifError() itself.
The second word, should be AssertionError.
Changes
Changing this line in lib/assert.js would fix this issue.