mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-09 17:57:26 +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:
|
script:
|
||||||
# - yarn inspect
|
# - yarn inspect
|
||||||
- yarn test --coverage
|
- yarn test:ci
|
||||||
- yarn build # Make sure the app can be built without errors
|
- yarn build # Make sure the app can be built without errors
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
|
|
10
package.json
10
package.json
|
@ -6,7 +6,9 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node scripts/start.js",
|
"start": "node scripts/start.js",
|
||||||
"build": "node scripts/build.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": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome": "^1.1.8",
|
"@fortawesome/fontawesome": "^1.1.8",
|
||||||
|
@ -86,12 +88,6 @@
|
||||||
"whatwg-fetch": "2.0.3"
|
"whatwg-fetch": "2.0.3"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"coverageReporters": [
|
|
||||||
"text",
|
|
||||||
"text-summary",
|
|
||||||
"clover",
|
|
||||||
"html"
|
|
||||||
],
|
|
||||||
"coverageDirectory": "<rootDir>/coverage",
|
"coverageDirectory": "<rootDir>/coverage",
|
||||||
"collectCoverageFrom": [
|
"collectCoverageFrom": [
|
||||||
"src/**/*.{js,jsx,mjs}"
|
"src/**/*.{js,jsx,mjs}"
|
||||||
|
|
Loading…
Reference in a new issue