mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-09 01:37:24 +03:00
Manually defined coverage reporters on commands, to nto break integration with webstorm
This commit is contained in:
parent
a5865e6cec
commit
5fcb5735d6
2 changed files with 4 additions and 8 deletions
|
@ -13,7 +13,7 @@ install:
|
|||
|
||||
script:
|
||||
# - yarn inspect
|
||||
- yarn test --coverage
|
||||
- yarn test:ci
|
||||
- yarn build # Make sure the app can be built without errors
|
||||
|
||||
after_script:
|
||||
|
|
10
package.json
10
package.json
|
@ -6,7 +6,9 @@
|
|||
"scripts": {
|
||||
"start": "node scripts/start.js",
|
||||
"build": "node scripts/build.js",
|
||||
"test": "node scripts/test.js --env=jsdom --colors"
|
||||
"test": "node scripts/test.js --env=jsdom --colors",
|
||||
"test:ci": "yarn test --coverage --coverageReporters=text --coverageReporters=text-summary --coverageReporters=clover",
|
||||
"test:pretty": "yarn test --coverage --coverageReporters=text --coverageReporters=text-summary --coverageReporters=html"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome": "^1.1.8",
|
||||
|
@ -86,12 +88,6 @@
|
|||
"whatwg-fetch": "2.0.3"
|
||||
},
|
||||
"jest": {
|
||||
"coverageReporters": [
|
||||
"text",
|
||||
"text-summary",
|
||||
"clover",
|
||||
"html"
|
||||
],
|
||||
"coverageDirectory": "<rootDir>/coverage",
|
||||
"collectCoverageFrom": [
|
||||
"src/**/*.{js,jsx,mjs}"
|
||||
|
|
Loading…
Reference in a new issue