jest-matchers
Advanced tools
Comparing version 20.0.0 to 20.0.1
@@ -283,3 +283,4 @@ /** | ||
}; | ||
expect.hasAssertions = function () { | ||
expect.hasAssertions = function (expected) { | ||
utils.ensureNoExpected(expected, '.hasAssertions'); | ||
global[GLOBAL_STATE].state.isExpectingAssertions = true; | ||
@@ -286,0 +287,0 @@ }; |
@@ -283,3 +283,4 @@ /** | ||
}; | ||
expect.hasAssertions = () => { | ||
expect.hasAssertions = expected => { | ||
utils.ensureNoExpected(expected, '.hasAssertions'); | ||
global[GLOBAL_STATE].state.isExpectingAssertions = true; | ||
@@ -286,0 +287,0 @@ }; |
{ | ||
"name": "jest-matchers", | ||
"version": "20.0.0", | ||
"version": "20.0.1", | ||
"repository": { | ||
@@ -12,7 +12,7 @@ "type": "git", | ||
"dependencies": { | ||
"jest-diff": "^20.0.0", | ||
"jest-matcher-utils": "^20.0.0", | ||
"jest-message-util": "^20.0.0", | ||
"jest-regex-util": "^20.0.0" | ||
"jest-diff": "^20.0.1", | ||
"jest-matcher-utils": "^20.0.1", | ||
"jest-message-util": "^20.0.1", | ||
"jest-regex-util": "^20.0.1" | ||
} | ||
} |
126383
3154
Updatedjest-diff@^20.0.1
Updatedjest-matcher-utils@^20.0.1
Updatedjest-message-util@^20.0.1
Updatedjest-regex-util@^20.0.1