asndev / webpack2-react-auth-starter

Simple Starter kit with firebase-auth, code-splitting, react, redux, redux-saga
https://webpack2-react-firebase.firebaseapp.com/
MIT License
2 stars 0 forks source link

Add Codecov #32

Open asndev opened 7 years ago

asndev commented 7 years ago
asndev commented 7 years ago

"test:coverage": "npm run build && cross-env NODE_ENV=test NWB_TEST=true nyc mocha tests/*-test.js tests/commands/*-test.js", ` before_install:

script: "npm run test:coverage"

after_success:

asndev commented 7 years ago
const DEFAULT_EXCLUDE_FROM_COVERAGE = ['test/', 'tests/', 'src/**/__tests__/']
const DEFAULT_TEST_FILES = ['+(src|test?(s))/**/*+(-test|.spec|.test).js']