Coverage: CI
This commit is contained in:
parent
0968756dd9
commit
2fce638bf2
|
@ -27,4 +27,4 @@ deploy:
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
after_success:
|
after_success:
|
||||||
- npm run test:coverage && codecov -t $CODECOV_TOKEN
|
- npm run test:coverage:ci
|
|
@ -12,6 +12,7 @@
|
||||||
"test:ci": "jest --config .jest.ci.json",
|
"test:ci": "jest --config .jest.ci.json",
|
||||||
"test:watch": "npm test -- --watch",
|
"test:watch": "npm test -- --watch",
|
||||||
"test:coverage": "npm test -- --coverage",
|
"test:coverage": "npm test -- --coverage",
|
||||||
|
"test:coverage:ci": "npm run test:coverage && codecov -t $CODECOV_TOKEN",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "npm run build",
|
||||||
"release": "np",
|
"release": "np",
|
||||||
"example:peripheral:install": "cd example/peripheral && npm install",
|
"example:peripheral:install": "cd example/peripheral && npm install",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* global jest, beforeEach, afterEach, test, expect */
|
/* global test, expect */
|
||||||
import Reducer from '.';
|
import Reducer from '.';
|
||||||
|
|
||||||
test('type: UNKNOWN', () => {
|
test('type: UNKNOWN', () => {
|
||||||
|
|
Loading…
Reference in New Issue