jest-plugin-must-assert
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "jest-plugin-must-assert", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Jest plugin for async tests", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -24,2 +24,3 @@ const StackUtils = require('stack-utils'); | ||
logger = console, | ||
ignoreStack = [], | ||
}) { | ||
@@ -39,7 +40,5 @@ const consoleMethods = Object.entries(global.console); | ||
cwd: process.cwd(), | ||
internals: StackUtils.nodeInternals().concat([ | ||
/Zone/, | ||
/zone\.js/, | ||
/jest-plugin-must-assert/, | ||
]), | ||
internals: StackUtils.nodeInternals() | ||
.concat([/Zone/, /zone\.js/, /node_modules/]) | ||
.concat(ignoreStack), | ||
}); | ||
@@ -184,4 +183,4 @@ // Zone sets itself as a global... | ||
global.it = enhancedTest; | ||
global.fit = enhancedTest; | ||
global.fit = enhancedTest.only; | ||
global.test = enhancedTest; | ||
} |
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
16058
392