Skip to content

Commit

Permalink
Merge pull request #69 from vaimee/dependabot/npm_and_yarn/axios-1.6.0
Browse files Browse the repository at this point in the history
chore(deps-dev): bump axios from 0.27.2 to 1.6.0
  • Loading branch information
relu91 committed Jan 24, 2024
2 parents e036457 + 7d5005a commit 4cb6801
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
24 changes: 13 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"moduleNameMapper": {
"^axios$": "axios/dist/node/axios.cjs"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
Expand Down Expand Up @@ -115,7 +118,7 @@
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"axios": "^0.27.2",
"axios": "^1.6.0",
"detect-port": "^1.3.0",
"docker-compose": "^0.23.17",
"eslint": "^8.0.1",
Expand Down
3 changes: 3 additions & 0 deletions test/jest-e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
"testRegex": ".e2e-spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"moduleNameMapper": {
"^axios$": "axios/dist/node/axios.cjs"
}
}
4 changes: 3 additions & 1 deletion test/utils/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ export async function getE2ETestResources() {

await app.init();
await app.listen(0);
const url = await app.getUrl();
// Workaround for axios not being able to handle [::1] IPv6 addresses
// in CI. See https://github.com/axios/axios/issues/5333
const url = (await app.getUrl()).replace('[::1]', 'localhost');

process.env.ZION_API_BASE = url;

Expand Down

0 comments on commit 4cb6801

Please sign in to comment.