Update checked-in dependencies
This commit is contained in:
parent
4fad06f438
commit
40a500c743
4168 changed files with 298222 additions and 374905 deletions
4
node_modules/ava/lib/assert.js
generated
vendored
4
node_modules/ava/lib/assert.js
generated
vendored
|
|
@ -55,7 +55,7 @@ export class AssertionError extends Error {
|
|||
}
|
||||
|
||||
export function checkAssertionMessage(assertion, message) {
|
||||
if (typeof message === 'undefined' || typeof message === 'string') {
|
||||
if (message === undefined || typeof message === 'string') {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -253,7 +253,7 @@ function assertExpectations({assertion, actual, expectations, message, prefix, s
|
|||
});
|
||||
}
|
||||
|
||||
if (typeof expectations.code !== 'undefined' && actual.code !== expectations.code) {
|
||||
if (expectations.code !== undefined && actual.code !== expectations.code) {
|
||||
throw new AssertionError({
|
||||
assertion,
|
||||
message,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue