Commit 1da9dd43 authored by Cole Bemis's avatar Cole Bemis

test: Track code coverage

parent 6e7693e6
...@@ -10,6 +10,7 @@ before_script: ...@@ -10,6 +10,7 @@ before_script:
script: script:
- npm run all - npm run all
after_success: after_success:
- npx codecov
- npx babel-node ./bin/sync-algolia.js - npx babel-node ./bin/sync-algolia.js
deploy: deploy:
provider: script provider: script
......
...@@ -21,6 +21,11 @@ ...@@ -21,6 +21,11 @@
"path": "cz-conventional-changelog" "path": "cz-conventional-changelog"
} }
}, },
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
]
},
"dependencies": { "dependencies": {
"classnames": "^2.2.5" "classnames": "^2.2.5"
}, },
......
/* eslint-env jest */ /* eslint-env jest */
import feather from '../..'; import feather from '../index';
test('has correct properties', () => { test('has correct properties', () => {
expect(feather).toHaveProperty('icons'); expect(feather).toHaveProperty('icons');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment