Skip to content

Commit

Permalink
snapshot update
Browse files Browse the repository at this point in the history
  • Loading branch information
ychi committed May 24, 2020
1 parent 6aeaa55 commit 96c4714
Showing 1 changed file with 18 additions and 18 deletions.
Expand Up @@ -19,34 +19,19 @@ exports[`codeframe 1`] = `
"
`;
exports[`formatStackTrace should strip node internals 1`] = `
"<bold><red> <bold>● </><bold>Unix test</></>
Expected value to be of type:
\\"number\\"
Received:
\\"\\"
type:
\\"string\\"
<dim></>
<dim> <dim>at Object.it (</><dim>__tests__/test.js<dim>:8:14)</><dim></>
"
`;
exports[`getConsoleOutput does not print code frame when noCodeFrame = true 1`] = `
exports[`formatStackTrace does not print code frame when noCodeFrame = true 1`] = `
"
<dim>at Object.<anonymous> (</>file.js<dim>:1:7)</>
"
`;
exports[`getConsoleOutput does not print codeframe when noStackTrace = true 1`] = `
exports[`formatStackTrace does not print codeframe when noStackTrace = true 1`] = `
"
<dim>at Object.<anonymous> (</>file.js<dim>:1:7)</>
"
`;
exports[`getConsoleOutput prints code frame and stacktrace 1`] = `
exports[`formatStackTrace prints code frame and stacktrace 1`] = `
"
</><red><bold>></></><gray> 1 | </><cyan>throw</> <cyan>new</> <yellow>Error</>(<green>\\"Whoops!\\"</>)<yellow>;</></>
</> <gray> | </> <red><bold>^</></></>
Expand All @@ -55,6 +40,21 @@ exports[`getConsoleOutput prints code frame and stacktrace 1`] = `
"
`;
exports[`formatStackTrace should strip node internals 1`] = `
"<bold><red> <bold>● </><bold>Unix test</></>
Expected value to be of type:
\\"number\\"
Received:
\\"\\"
type:
\\"string\\"
<dim></>
<dim> <dim>at Object.it (</><dim>__tests__/test.js<dim>:8:14)</><dim></>
"
`;
exports[`no codeframe 1`] = `
" <bold>● </>Test suite failed to run
Expand Down

0 comments on commit 96c4714

Please sign in to comment.