fix: fix broken tests

This commit is contained in:
Andrew Bastin
2021-09-16 22:59:29 +05:30
parent 2d3cbd26b8
commit d4392416c8
4 changed files with 15 additions and 3 deletions

View File

@@ -29,4 +29,4 @@ jobs:
- name: Install pnpm
run: 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 test

View File

@@ -5,7 +5,6 @@
"author": "Hoppscotch (support@hoppscotch.io)",
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"dev": "pnpm -r dev",

View File

@@ -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",

14
pnpm-lock.yaml generated
View File

@@ -49,6 +49,7 @@ importers:
'@vue/test-utils': ^1.2.2
acorn: ^8.5.0
acorn-walk: ^8.2.0
axios: ^0.21.4
babel-core: ^7.0.0-bridge.0
babel-jest: ^27.2.0
codemirror: ^5.62.3
@@ -111,6 +112,7 @@ importers:
'@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
@@ -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.4
transitivePeerDependencies:
- debug
dev: false
@@ -9077,6 +9079,16 @@ packages:
optional: true
dev: 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: