Skip to content

Commit

Permalink
Use wrap in e2e test for custom matcher stack trace
Browse files Browse the repository at this point in the history
Uses the new wrap utility in e2e snapshot for custom
matcher stack traces.
  • Loading branch information
Don Schrimsher committed Jan 22, 2019
1 parent 3018bc8 commit 7bbff25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/__tests__/customMatcherStackTrace.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ test('custom async matchers', () => {

const result = extractSummary(stderr);

expect(result).toMatchSnapshot();
expect(wrap(result.rest)).toMatchSnapshot();
});

0 comments on commit 7bbff25

Please sign in to comment.