test: Track code coverage

This commit is contained in:
Cole Bemis 2018-05-17 23:19:02 -07:00
parent 6e7693e6da
commit 1da9dd43b2
3 changed files with 7 additions and 1 deletions

View File

@ -10,6 +10,7 @@ before_script:
script:
- npm run all
after_success:
- npx codecov
- npx babel-node ./bin/sync-algolia.js
deploy:
provider: script

View File

@ -21,6 +21,11 @@
"path": "cz-conventional-changelog"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
]
},
"dependencies": {
"classnames": "^2.2.5"
},

View File

@ -1,5 +1,5 @@
/* eslint-env jest */
import feather from '../..';
import feather from '../index';
test('has correct properties', () => {
expect(feather).toHaveProperty('icons');