jest-jasmine2
Advanced tools
Comparing version 29.0.0-alpha.5 to 29.0.0-alpha.6
@@ -129,2 +129,9 @@ 'use strict'; | ||
failing.each = () => { | ||
throw new _jestUtil.ErrorWithStack( | ||
'Jest: `failing` tests are only supported in `jest-circus`.', | ||
failing.each | ||
); | ||
}; | ||
environment.global.it.failing = failing; | ||
@@ -131,0 +138,0 @@ environment.global.fit.failing = failing; |
@@ -193,8 +193,5 @@ 'use strict'; | ||
return spec; | ||
}; // each is bound after the function is made concurrent, so for now it is made noop | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
}; | ||
concurrentFn.each = () => () => {}; | ||
concurrentFn.failing = () => () => { | ||
const failing = () => { | ||
throw new Error( | ||
@@ -205,2 +202,12 @@ 'Jest: `failing` tests are only supported in `jest-circus`.' | ||
failing.each = () => { | ||
throw new Error( | ||
'Jest: `failing` tests are only supported in `jest-circus`.' | ||
); | ||
}; // each is bound after the function is made concurrent, so for now it is made noop | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
concurrentFn.each = () => () => {}; | ||
concurrentFn.failing = failing; | ||
return concurrentFn; | ||
@@ -207,0 +214,0 @@ } |
@@ -105,3 +105,3 @@ 'use strict'; | ||
const {expand, updateSnapshot} = globalConfig; | ||
const {prettierPath, snapshotFormat} = config; | ||
const {prettierPath, rootDir, snapshotFormat} = config; | ||
const snapshotResolver = await (0, _jestSnapshot.buildSnapshotResolver)( | ||
@@ -115,2 +115,3 @@ config, | ||
prettierPath, | ||
rootDir, | ||
snapshotFormat, | ||
@@ -117,0 +118,0 @@ updateSnapshot |
{ | ||
"name": "jest-jasmine2", | ||
"version": "29.0.0-alpha.5", | ||
"version": "29.0.0-alpha.6", | ||
"repository": { | ||
@@ -20,7 +20,7 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/environment": "^29.0.0-alpha.4", | ||
"@jest/expect": "^29.0.0-alpha.5", | ||
"@jest/source-map": "^29.0.0-alpha.5", | ||
"@jest/test-result": "^29.0.0-alpha.4", | ||
"@jest/types": "^29.0.0-alpha.4", | ||
"@jest/environment": "^29.0.0-alpha.6", | ||
"@jest/expect": "^29.0.0-alpha.6", | ||
"@jest/source-map": "^29.0.0-alpha.6", | ||
"@jest/test-result": "^29.0.0-alpha.6", | ||
"@jest/types": "^29.0.0-alpha.6", | ||
"@types/node": "*", | ||
@@ -30,10 +30,10 @@ "chalk": "^4.0.0", | ||
"is-generator-fn": "^2.0.0", | ||
"jest-each": "^29.0.0-alpha.4", | ||
"jest-matcher-utils": "^29.0.0-alpha.4", | ||
"jest-message-util": "^29.0.0-alpha.4", | ||
"jest-runtime": "^29.0.0-alpha.5", | ||
"jest-snapshot": "^29.0.0-alpha.5", | ||
"jest-util": "^29.0.0-alpha.4", | ||
"jest-each": "^29.0.0-alpha.6", | ||
"jest-matcher-utils": "^29.0.0-alpha.6", | ||
"jest-message-util": "^29.0.0-alpha.6", | ||
"jest-runtime": "^29.0.0-alpha.6", | ||
"jest-snapshot": "^29.0.0-alpha.6", | ||
"jest-util": "^29.0.0-alpha.6", | ||
"p-limit": "^3.1.0", | ||
"pretty-format": "^29.0.0-alpha.4" | ||
"pretty-format": "^29.0.0-alpha.6" | ||
}, | ||
@@ -49,3 +49,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "63e506b5d1558a9132a8fa65151407b0a40be3a5" | ||
"gitHead": "4def94b073cad300e99de378ba900e6ba9b7032f" | ||
} |
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
142116
56
4170
Updated@jest/expect@^29.0.0-alpha.6
Updated@jest/types@^29.0.0-alpha.6
Updatedjest-each@^29.0.0-alpha.6
Updatedjest-runtime@^29.0.0-alpha.6
Updatedjest-util@^29.0.0-alpha.6