diff --git a/package-lock.json b/package-lock.json index d12b1ab..66468c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@contentstack/delivery-sdk": "^4.0.5", "@gql2ts/from-schema": "^2.0.0-4", - "axios": "^1.7.2", + "axios": "^1.7.4", "lodash": "^4.17.21", "prettier": "^3.3.3" }, @@ -2055,9 +2055,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", - "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", + "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", diff --git a/package.json b/package.json index 3c90a1c..746baf6 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "dependencies": { "@contentstack/delivery-sdk": "^4.0.5", "@gql2ts/from-schema": "^2.0.0-4", - "axios": "^1.7.2", + "axios": "^1.7.4", "lodash": "^4.17.21", "prettier": "^3.3.3" } diff --git a/tests/integration/generateTS/generateTS.test.ts b/tests/integration/generateTS/generateTS.test.ts index a7acc80..17554fb 100644 --- a/tests/integration/generateTS/generateTS.test.ts +++ b/tests/integration/generateTS/generateTS.test.ts @@ -209,9 +209,7 @@ describe("generateTS function with errors", () => { branch, }); } catch (err: any) { - expect(err.error_message).toEqual( - "Something went wrong, You're not allowed in here unless you're logged in." - ); + expect(err.error_message).toEqual("Something went wrong, Bad Request"); } });