jest-message-util
Advanced tools
Comparing version 21.3.0-beta.10 to 21.3.0-beta.11
@@ -43,2 +43,4 @@ 'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports.separateMessageFromStack = exports.formatResultsErrors = exports.formatStackTrace = exports.formatExecError = undefined; | ||
const JEST_INTERNALS_IGNORE = /^\s+at.*?jest(-.*?)?(\/|\\)(build|node_modules|packages)(\/|\\)/; | ||
const JEST_NODE_NATIVE_IGNORE = /^\s+at.*?jest-node-native-/; | ||
const ANONYMOUS_FN_IGNORE = /^\s+at <anonymous>.*$/; | ||
@@ -142,2 +144,6 @@ const ANONYMOUS_PROMISE_IGNORE = /^\s+at (new )?Promise \(<anonymous>\).*$/; | ||
if (JEST_NODE_NATIVE_IGNORE.test(line)) { | ||
return false; | ||
} | ||
if (!STACK_PATH_REGEXP.test(line)) { | ||
@@ -144,0 +150,0 @@ return true; |
{ | ||
"name": "jest-message-util", | ||
"version": "21.3.0-beta.10", | ||
"version": "21.3.0-beta.11", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
8451
217