jest-jasmine2
Advanced tools
Comparing version 28.0.3 to 28.1.0
@@ -12,2 +12,4 @@ 'use strict'; | ||
var _jestUtil = require('jest-util'); | ||
var _each = _interopRequireDefault(require('./each')); | ||
@@ -126,2 +128,13 @@ | ||
(0, _each.default)(environment); | ||
const failing = () => { | ||
throw new _jestUtil.ErrorWithStack( | ||
'Jest: `failing` tests are only supported in `jest-circus`.', | ||
failing | ||
); | ||
}; | ||
environment.global.it.failing = failing; | ||
environment.global.fit.failing = failing; | ||
environment.global.xit.failing = failing; | ||
environment.global.test = environment.global.it; | ||
@@ -128,0 +141,0 @@ environment.global.it.only = environment.global.fit; |
@@ -194,2 +194,8 @@ 'use strict'; | ||
concurrentFn.failing = () => () => { | ||
throw new Error( | ||
'Jest: `failing` tests are only supported in `jest-circus`.' | ||
); | ||
}; | ||
return concurrentFn; | ||
@@ -196,0 +202,0 @@ } |
{ | ||
"name": "jest-jasmine2", | ||
"version": "28.0.3", | ||
"version": "28.1.0", | ||
"repository": { | ||
@@ -20,7 +20,7 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/environment": "^28.0.2", | ||
"@jest/expect": "^28.0.3", | ||
"@jest/environment": "^28.1.0", | ||
"@jest/expect": "^28.1.0", | ||
"@jest/source-map": "^28.0.2", | ||
"@jest/test-result": "^28.0.2", | ||
"@jest/types": "^28.0.2", | ||
"@jest/test-result": "^28.1.0", | ||
"@jest/types": "^28.1.0", | ||
"@types/node": "*", | ||
@@ -30,9 +30,9 @@ "chalk": "^4.0.0", | ||
"is-generator-fn": "^2.0.0", | ||
"jest-each": "^28.0.2", | ||
"jest-matcher-utils": "^28.0.2", | ||
"jest-message-util": "^28.0.2", | ||
"jest-runtime": "^28.0.3", | ||
"jest-snapshot": "^28.0.3", | ||
"jest-util": "^28.0.2", | ||
"pretty-format": "^28.0.2", | ||
"jest-each": "^28.1.0", | ||
"jest-matcher-utils": "^28.1.0", | ||
"jest-message-util": "^28.1.0", | ||
"jest-runtime": "^28.1.0", | ||
"jest-snapshot": "^28.1.0", | ||
"jest-util": "^28.1.0", | ||
"pretty-format": "^28.1.0", | ||
"throat": "^6.0.1" | ||
@@ -49,3 +49,3 @@ }, | ||
}, | ||
"gitHead": "1bea778422dc049b0fb3d7da809ffec39be549ff" | ||
"gitHead": "f5db241312f46528389e55c38221e6b6968622cf" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116492
3510
Updated@jest/environment@^28.1.0
Updated@jest/expect@^28.1.0
Updated@jest/test-result@^28.1.0
Updated@jest/types@^28.1.0
Updatedjest-each@^28.1.0
Updatedjest-matcher-utils@^28.1.0
Updatedjest-message-util@^28.1.0
Updatedjest-runtime@^28.1.0
Updatedjest-snapshot@^28.1.0
Updatedjest-util@^28.1.0
Updatedpretty-format@^28.1.0