Skip to content

Commit

Permalink
fix failing test broken by node nightly (#1574)
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode authored Dec 25, 2021
1 parent 3a2848c commit 10025b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ test.suite('ts-node', (test) => {
expect(err).not.toBe(null);
// expect error from node's default resolver
expect(stderr).toMatch(
/Error \[ERR_UNSUPPORTED_ESM_URL_SCHEME\]:.*(?:\n.*){0,1}\n *at defaultResolve/
/Error \[ERR_UNSUPPORTED_ESM_URL_SCHEME\]:.*(?:\n.*){0,2}\n *at defaultResolve/
);
});

Expand Down

0 comments on commit 10025b0

Please sign in to comment.