From 4f1889fb4279bd5b2e5c977abdde197e160520a4 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Thu, 20 Jun 2019 08:03:56 +0200 Subject: [PATCH] test: fix scripts --- package.json | 4 ++-- tests/demo/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a5eec07..0c18ee4 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,10 @@ "build:umd": "rollup --config build/rollup.config.umd.js", "prepublishOnly": "yarn test && yarn build", "dev": "nodemon --exec 'yarn build:es && yarn build:umd' --watch src", - "test": "yarn build && yarn test:eslint && yarn test:types && yarn test:e2e", + "test": "yarn build && yarn test:eslint && yarn test:types && yarn test:e2e && yarn run test:unit", "test:eslint": "eslint --ext .js {src,ssr,lib,build}/**/*.js", "test:types": "tsc -p types/test", - "test:e2e": "cd tests/demo && yarn test", + "test:e2e": "cd tests/demo && yarn test && cd ../../", "test:unit": "yarn run jest", "docs:dev": "vuepress dev docs", "docs:build": "vuepress build docs" diff --git a/tests/demo/package.json b/tests/demo/package.json index e6f26fb..bcf2f75 100644 --- a/tests/demo/package.json +++ b/tests/demo/package.json @@ -12,7 +12,7 @@ "test:e2e:dev:client": "vue-cli-service test:e2e --mode development", "test:e2e": "start-server-and-test apollo:run http://localhost:4000/.well-known/apollo/server-health test:e2e:client", "test:e2e:client": "vue-cli-service test:e2e --mode production --headless", - "test": "yarn run lint --no-fix && yarn run test:unit && yarn run test:e2e" + "test": "yarn run lint --no-fix && yarn run test:e2e" }, "dependencies": { "graphql-type-json": "^0.2.1",