From 04d0e427b594fe989d688f10f7dc2653a9c307ae Mon Sep 17 00:00:00 2001 From: hoonoh Date: Mon, 21 Oct 2019 13:57:50 +0900 Subject: [PATCH] test: update jest ci options --- .circleci/config.yml | 4 +++- package.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 20d652f5..cd53d37b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,9 +16,11 @@ jobs: - run: yarn install + - run: yarn build + - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - - run: yarn test:coverage + - run: yarn test:ci diff --git a/package.json b/package.json index 556231ff..6a31b6ab 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,9 @@ "build:ec2-types": "ts-node -T util/generate-ec2-types.ts", "build": "tsc", "changelog": "conventional-changelog -i CHANGELOG.md -s -p angular", - "test": "jest --runInBand", + "test": "jest --runInBand --verbose", "test:coverage": "yarn test --coverage", + "test:ci": "yarn test:coverage --ci", "lint": "eslint **/*.ts" }, "config": {