Skip to content

Commit 2922567

Browse files
committed
test(api): update expected error message
1 parent cb27d4d commit 2922567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/specs/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ export default testSuite(({ describe }, node: NodeApis) => {
758758
nodeOptions: [],
759759
reject: false,
760760
});
761-
expect(stderr).toMatch(`This version of Node.js (v${node.version}) does not support module.register(). Please upgrade to Node v18.9 or v20.6 and above.`);
761+
expect(stderr).toMatch(`This version of Node.js (v${node.version}) does not support module.register(). Please upgrade to Node v18.19 or v20.6 and above.`);
762762
});
763763
}
764764
});

0 commit comments

Comments
 (0)