From 1940aed9b76c63f8dd334df83e65f8d874f543ce Mon Sep 17 00:00:00 2001 From: Shawn Mclean Date: Fri, 13 Oct 2017 19:19:12 -0500 Subject: [PATCH] Made testing with coverage command into its own thats called by circle. --- .circleci/config.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d28b85b4..53f7a6dd7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,7 @@ jobs: - checkout - restore_cache: key: neon-wallet-{{ checksum "yarn.lock" }} - - run: yarn test + - run: yarn test:coverage - run: yarn test:e2e store_artifacts: - path: artifacts/ diff --git a/package.json b/package.json index 721cee6c9..32b84473d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "start": "electron .", "assets": "webpack", "assets-watch": "webpack --watch", - "test": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", + "test": "jest", + "test:coverage": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", "test:e2e": "ava __e2e__/*.e2e.js --timeout=120s", "test-watch": "jest --watch", "pack": "build --dir",