diff --git a/packages/jest-message-util/src/__tests__/__snapshots__/messages.test.ts.snap b/packages/jest-message-util/src/__tests__/__snapshots__/messages.test.ts.snap index ccce82f85b46..e6e03daebeee 100644 --- a/packages/jest-message-util/src/__tests__/__snapshots__/messages.test.ts.snap +++ b/packages/jest-message-util/src/__tests__/__snapshots__/messages.test.ts.snap @@ -19,34 +19,19 @@ exports[`codeframe 1`] = ` " `; -exports[`formatStackTrace should strip node internals 1`] = ` -" Unix test - - - Expected value to be of type: - \\"number\\" - Received: - \\"\\" - type: - \\"string\\" - - at Object.it (__tests__/test.js:8:14) -" -`; - -exports[`getConsoleOutput does not print code frame when noCodeFrame = true 1`] = ` +exports[`formatStackTrace does not print code frame when noCodeFrame = true 1`] = ` " at Object. (file.js:1:7) " `; -exports[`getConsoleOutput does not print codeframe when noStackTrace = true 1`] = ` +exports[`formatStackTrace does not print codeframe when noStackTrace = true 1`] = ` " at Object. (file.js:1:7) " `; -exports[`getConsoleOutput prints code frame and stacktrace 1`] = ` +exports[`formatStackTrace prints code frame and stacktrace 1`] = ` " > 1 | throw new Error(\\"Whoops!\\"); | ^ @@ -55,6 +40,21 @@ exports[`getConsoleOutput prints code frame and stacktrace 1`] = ` " `; +exports[`formatStackTrace should strip node internals 1`] = ` +" Unix test + + + Expected value to be of type: + \\"number\\" + Received: + \\"\\" + type: + \\"string\\" + + at Object.it (__tests__/test.js:8:14) +" +`; + exports[`no codeframe 1`] = ` " ● Test suite failed to run