Skip to content

Commit

Permalink
fixup! test(e2e): introduce workaround for axios IPv6 in url issue
Browse files Browse the repository at this point in the history
  • Loading branch information
relu91 committed Jan 19, 2024
1 parent 26fe3c6 commit 29c3a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function getE2ETestResources() {
const axios = ax.create({
// Workaround for axios not being able to handle [::1] IPv6 addresses
// in CI. See https://github.com/axios/axios/issues/5333
baseURL: url.replace('[', '').replace(']', ''),
baseURL: url.replace('[::1]', 'localhost'),
validateStatus: () => true,
});

Expand Down

0 comments on commit 29c3a27

Please sign in to comment.