Skip to content

Commit 10025b0

Browse files
authored
fix failing test broken by node nightly (#1574)
1 parent 3a2848c commit 10025b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ test.suite('ts-node', (test) => {
11461146
expect(err).not.toBe(null);
11471147
// expect error from node's default resolver
11481148
expect(stderr).toMatch(
1149-
/Error \[ERR_UNSUPPORTED_ESM_URL_SCHEME\]:.*(?:\n.*){0,1}\n *at defaultResolve/
1149+
/Error \[ERR_UNSUPPORTED_ESM_URL_SCHEME\]:.*(?:\n.*){0,2}\n *at defaultResolve/
11501150
);
11511151
});
11521152

0 commit comments

Comments
 (0)