Updating NPM dependencies
This commit is contained in:
9
node_modules/expect/build/asymmetricMatchers.js
generated
vendored
9
node_modules/expect/build/asymmetricMatchers.js
generated
vendored
@@ -72,6 +72,15 @@ class Any extends AsymmetricMatcher {
|
||||
if (this.sample == Boolean) {
|
||||
return typeof other == 'boolean';
|
||||
}
|
||||
/* global BigInt */
|
||||
|
||||
if (this.sample == BigInt) {
|
||||
return typeof other == 'bigint';
|
||||
}
|
||||
|
||||
if (this.sample == Symbol) {
|
||||
return typeof other == 'symbol';
|
||||
}
|
||||
|
||||
return other instanceof this.sample;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user