Skip to content

Commit 7bbff25

Browse files
author
Don Schrimsher
committed
Use wrap in e2e test for custom matcher stack trace
Uses the new wrap utility in e2e snapshot for custom matcher stack traces.
1 parent 3018bc8 commit 7bbff25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

e2e/__tests__/customMatcherStackTrace.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ test('custom async matchers', () => {
2929

3030
const result = extractSummary(stderr);
3131

32-
expect(result).toMatchSnapshot();
32+
expect(wrap(result.rest)).toMatchSnapshot();
3333
});

0 commit comments

Comments
 (0)