mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
test: Track code coverage
This commit is contained in:
@@ -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 @@
|
|||||||
"path": "cz-conventional-changelog"
|
"path": "cz-conventional-changelog"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"jest": {
|
||||||
|
"collectCoverageFrom": [
|
||||||
|
"src/**/*.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"classnames": "^2.2.5"
|
"classnames": "^2.2.5"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,5 +1,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');
|
||||||
|
|||||||
Reference in New Issue
Block a user