jest-plugin-must-assert
Advanced tools
Comparing version 1.4.1 to 1.5.0
@@ -43,2 +43,4 @@ /** | ||
test.todo('- todos should work'); | ||
describe('it() should behave the same as test()', () => { | ||
@@ -71,2 +73,4 @@ it('basic tests should pass', () => { | ||
}); | ||
it.todo('- it todos should work'); | ||
}); |
{ | ||
"name": "jest-plugin-must-assert", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"description": "Jest plugin for async tests", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -167,8 +167,6 @@ const StackUtils = require('stack-utils'); | ||
const donotpatch = ['each', 'skip', 'todo']; | ||
Object.keys(global.test).forEach(key => { | ||
if ( | ||
typeof global.test[key] === 'function' && | ||
key !== 'each' && | ||
key !== 'skip' | ||
) { | ||
if (typeof global.test[key] === 'function' && !donotpatch.includes(key)) { | ||
enhancedTest[key] = enhanceJestImplementationWithAssertionCheck( | ||
@@ -175,0 +173,0 @@ global.test[key] |
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
16608
407