Update checked-in dependencies
This commit is contained in:
parent
3ba511a8f1
commit
1c4c64199f
175 changed files with 13227 additions and 15136 deletions
4
node_modules/@sinonjs/samsam/lib/create-matcher/assert-method-exists.js
generated
vendored
4
node_modules/@sinonjs/samsam/lib/create-matcher/assert-method-exists.js
generated
vendored
|
|
@ -12,9 +12,7 @@
|
|||
*/
|
||||
function assertMethodExists(value, method, name, methodPath) {
|
||||
if (value[method] === null || value[method] === undefined) {
|
||||
throw new TypeError(
|
||||
"Expected " + name + " to have method " + methodPath
|
||||
);
|
||||
throw new TypeError(`Expected ${name} to have method ${methodPath}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue