From 77954da81a994a9ab24e815fbf7a8b7a7849b7de Mon Sep 17 00:00:00 2001 From: George Lima Date: Wed, 20 Feb 2019 16:40:58 -0300 Subject: [PATCH] ci(config): run unit tests --- .circleci/config.yml | 3 +++ package.json | 1 + 2 files changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7a04354..9308fdb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,9 @@ jobs: - run: apt-get -y install libusb-1.0-0-dev graphicsmagick libudev-dev - run: apt-get -y install tmux xvfb libxtst6 libxss1 libgtk2.0-0 libnss3 libasound2 libgconf-2-4 ffmpeg frei0r-plugins - run: yarn install + - run: + name: Run Unit Tests + command: yarn test:unit - run: name: Run Webpack command: yarn dev diff --git a/package.json b/package.json index a70bac3..89d9284 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "docz:deploy": "yarn docz:build && cd ./.docz/dist && now && now alias zec-docz.now.sh", "test": "jest --runInBand", "test:watch": "jest --watch", + "test:unit": "jest --testPathIgnorePatterns=e2e --testPathIgnorePatterns=setup", "e2e:serve": "node -r @babel/register ./__tests__/setup/mockAPI.js", "e2e:run": "yarn test e2e" },