Skip to content

Commit 8c52045

Browse files
committed
chore: fix failing test for node 17.5
1 parent 048d1c5 commit 8c52045

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

e2e/__tests__/failures.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ test('errors after test has completed', () => {
9494
const {stderr} = runJest(dir, ['errorAfterTestComplete.test.js']);
9595

9696
expect(stderr).toMatch(
97-
/Error: Caught error after test environment was torn down/,
97+
/Error(WithStack)?: Caught error after test environment was torn down/,
9898
);
9999
expect(stderr).toMatch(/Failed: "fail async"/);
100100
});

0 commit comments

Comments
 (0)