ci(config): run unit tests
This commit is contained in:
parent
140da1da29
commit
77954da81a
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue