Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: fix broken tests
Andrew Bastind4392416c84f
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex eabc1c672..58874f3bc 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -29,4 +29,4 @@ jobs:- name: Install pnpmrun: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6- name: Run tests- run: pnpm i && cd packages/hoppscotch-app && pnpm test+ run: pnpm i && pnpm -r testdiff --git a/package.json b/package.jsonindex 4e8fadb52..5e4154ecf 100644--- a/package.json+++ b/package.json@@ -5,7 +5,6 @@"author": "Hoppscotch ([email protected])","private": true,"scripts": {- "test": "echo \"Error: no test specified\" && exit 1","preinstall": "npx only-allow pnpm","prepare": "husky install","dev": "pnpm -r dev",diff --git a/packages/hoppscotch-app/package.json b/packages/hoppscotch-app/package.jsonindex 456b7e797..8ebc54c06 100644--- a/packages/hoppscotch-app/package.json+++ b/packages/hoppscotch-app/package.json@@ -31,6 +31,7 @@"@nuxtjs/toast": "^3.3.1","acorn": "^8.5.0","acorn-walk": "^8.2.0",+ "axios": "^0.21.4","codemirror": "^5.62.3","codemirror-theme-github": "^1.0.0","core-js": "^3.17.3",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 7b6bee667..b12924749 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -49,6 +49,7 @@ importers:'@vue/test-utils': ^1.2.2acorn: ^8.5.0acorn-walk: ^8.2.0+ axios: ^0.21.4babel-core: ^7.0.0-bridge.0babel-jest: ^27.2.0codemirror: ^5.62.3@@ -111,6 +112,7 @@ importers:'@nuxtjs/toast': 3.3.1acorn: 8.5.0acorn-walk: 8.2.0+ axios: 0.21.4codemirror: 5.62.3codemirror-theme-github: 1.0.0core-js: 3.17.3@@ -5844,7 +5846,7 @@ packages:/axios/0.21.4:resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==}dependencies:- follow-redirects: 1.14.3+ follow-redirects: 1.14.4transitivePeerDependencies:- debugdev: false@@ -9077,6 +9079,16 @@ packages:optional: truedev: false+ /follow-redirects/1.14.4:+ resolution: {integrity: sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==}+ engines: {node: '>=4.0'}+ peerDependencies:+ debug: '*'+ peerDependenciesMeta:+ debug:+ optional: true+ dev: false+/for-each/0.3.3:resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==}dependencies: