Skip to content

Commit

Permalink
Fix base URL validation in node compatibility test
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexmatthews committed Jan 2, 2025
1 parent 7fe32f8 commit cdf1e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/node_compatibility/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const EasyPostClient = require('../..');
const test = async () => {
const client = new EasyPostClient('apiKey');

if (!client.baseUrl.match(/^(http|https):\/\/api.easypost.com/gm)) {
if (!client.baseUrl.match(/^https:\/\/api\.easypost\.com/gm)) {
process.exit(1);
}
};
Expand Down

0 comments on commit cdf1e60

Please sign in to comment.