Skip to content

Commit

Permalink
chore: fix failing test for node 17.5
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 11, 2022
1 parent 048d1c5 commit 8c52045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/__tests__/failures.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ test('errors after test has completed', () => {
const {stderr} = runJest(dir, ['errorAfterTestComplete.test.js']);

expect(stderr).toMatch(
/Error: Caught error after test environment was torn down/,
/Error(WithStack)?: Caught error after test environment was torn down/,
);
expect(stderr).toMatch(/Failed: "fail async"/);
});

0 comments on commit 8c52045

Please sign in to comment.