Skip to content

Commit

Permalink
test(api): update expected error message
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Jun 17, 2024
1 parent cb27d4d commit 2922567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/specs/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ export default testSuite(({ describe }, node: NodeApis) => {
nodeOptions: [],
reject: false,
});
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.`);
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.`);
});
}
});
Expand Down

0 comments on commit 2922567

Please sign in to comment.