Skip to content

Commit 4f1889f

Browse files
author
Guillaume Chau
committed
test: fix scripts
1 parent b67878e commit 4f1889f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:umd": "rollup --config build/rollup.config.umd.js",
1414
"prepublishOnly": "yarn test && yarn build",
1515
"dev": "nodemon --exec 'yarn build:es && yarn build:umd' --watch src",
16-
"test": "yarn build && yarn test:eslint && yarn test:types && yarn test:e2e",
16+
"test": "yarn build && yarn test:eslint && yarn test:types && yarn test:e2e && yarn run test:unit",
1717
"test:eslint": "eslint --ext .js {src,ssr,lib,build}/**/*.js",
1818
"test:types": "tsc -p types/test",
19-
"test:e2e": "cd tests/demo && yarn test",
19+
"test:e2e": "cd tests/demo && yarn test && cd ../../",
2020
"test:unit": "yarn run jest",
2121
"docs:dev": "vuepress dev docs",
2222
"docs:build": "vuepress build docs"

tests/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test:e2e:dev:client": "vue-cli-service test:e2e --mode development",
1313
"test:e2e": "start-server-and-test apollo:run http://localhost:4000/.well-known/apollo/server-health test:e2e:client",
1414
"test:e2e:client": "vue-cli-service test:e2e --mode production --headless",
15-
"test": "yarn run lint --no-fix && yarn run test:unit && yarn run test:e2e"
15+
"test": "yarn run lint --no-fix && yarn run test:e2e"
1616
},
1717
"dependencies": {
1818
"graphql-type-json": "^0.2.1",

0 commit comments

Comments
 (0)