Skip to content

Commit

Permalink
test: Prevent removal of coverage dir in npm test
Browse files Browse the repository at this point in the history
The additional build for e2e tests did remove the previously generated
coverage report.
  • Loading branch information
matz3 committed Dec 2, 2024
1 parent 17fd4ae commit d8ff46b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@
"type": "module",
"types": "lib/index.d.ts",
"scripts": {
"build": "npm run cleanup && tsc -p tsconfig.build.json",
"build": "npm run clean-lib && tsc -p tsconfig.build.json",
"build-test": "tsc --noEmit -p .",
"build-watch": "npm run cleanup && tsc -w -p tsconfig.build.json",
"build-watch": "npm run clean-lib && tsc -w -p tsconfig.build.json",
"check-licenses": "licensee --errors-only",
"cleanup": "rimraf lib coverage",
"coverage": "nyc ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\"",
"clean-coverage": "rimraf coverage",
"clean-lib": "rimraf lib",
"coverage": "npm run clean-coverage && nyc ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\"",
"depcheck": "depcheck --ignores @commitlint/config-conventional,@istanbuljs/esm-loader-hook,rimraf,sap,mycomp,@ui5/linter",
"hooks:pre-push": "npm run lint:commit",
"lint": "eslint .",
Expand Down

0 comments on commit d8ff46b

Please sign in to comment.