mirror of
https://codeberg.org/beerbrawl/beerbrawl.git
synced 2024-09-23 01:30:52 +02:00
chore(#136): frontend: run angular tests with code coverage reports
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
This commit is contained in:
parent
6fac995730
commit
01f5c40b10
|
@ -56,6 +56,7 @@ test-and-build-frontend:
|
|||
- npm run eslint:check
|
||||
- npm run prettier:check
|
||||
- npm run test:ci
|
||||
- npm run coverage:ci
|
||||
- npm run build
|
||||
- npm run openapi-clients:replace-base-path-for-prod
|
||||
artifacts:
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
"eslint:check": "eslint .",
|
||||
"eslint:fix": "eslint --fix .",
|
||||
"prettier:check": "prettier --check '**/*.{json,html,scss,ts}'",
|
||||
"prettier:fix": "prettier --write '**/*.{json,html,scss,ts}'"
|
||||
"prettier:fix": "prettier --write '**/*.{json,html,scss,ts}'",
|
||||
"coverage:ci": "nyc report --reporter=text-summary -t coverage --report-dir coverage/summary"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
@ -60,16 +61,18 @@
|
|||
"eslint": "^8.53.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "48.2.3",
|
||||
"eslint-plugin-jsdoc": "48.2.9",
|
||||
"eslint-plugin-prefer-arrow": "1.2.3",
|
||||
"eslint-plugin-unused-imports": "^3.2.0",
|
||||
"jasmine-core": "5.1.2",
|
||||
"jasmine-spec-reporter": "7.0.0",
|
||||
"karma": "6.4.3",
|
||||
"karma-chrome-launcher": "3.2.0",
|
||||
"karma-coverage": "^2.2.1",
|
||||
"karma-coverage-istanbul-reporter": "3.0.3",
|
||||
"karma-jasmine": "5.1.0",
|
||||
"karma-jasmine-html-reporter": "2.1.0",
|
||||
"nyc": "^17.0.0",
|
||||
"prettier": "^3.3.2",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.4.5"
|
||||
|
|
Loading…
Reference in a new issue