ci(config): run unit tests

This commit is contained in:
George Lima 2019-02-20 16:40:58 -03:00
parent 140da1da29
commit 77954da81a
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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"
},