Skip to content

Commit

Permalink
chore: fix snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Oct 14, 2020
1 parent 19886b5 commit 50b534e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions e2e/__tests__/__snapshots__/consoleAfterTeardown.test.ts.snap
Expand Up @@ -14,7 +14,4 @@ PASS __tests__/console.test.js
13 | });
14 | });
15 |
at BufferedConsole.log (../../packages/jest-console/build/BufferedConsole.js:197:10)
at log (__tests__/console.test.js:12:13)
`;
5 changes: 4 additions & 1 deletion e2e/__tests__/consoleAfterTeardown.test.ts
Expand Up @@ -14,5 +14,8 @@ test('console printing', () => {
const {rest} = extractSummary(stderr);

expect(exitCode).toBe(0);
expect(wrap(rest)).toMatchSnapshot();

const withoutTrace = rest.split('\n').slice(0, -3).join('\n');

expect(wrap(withoutTrace)).toMatchSnapshot();
});

0 comments on commit 50b534e

Please sign in to comment.