Added vitest (#5)

* Moved eslint and @nuxt/eslint to devDependencies

* Added vitest to project and 1 test

* Tweaked Sonar workflow in order to run tests and coverage

* Removed offending config line
This commit is contained in:
Liviu Burcusel 2025-10-24 17:20:05 +02:00 committed by GitHub
parent c98879430b
commit 3b58a25ccf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 942 additions and 15 deletions

View file

@ -8,5 +8,5 @@ sonar.sources=app, tests
sonar.inclusions=app/**/*.ts, app/**/*.js, app/**/*.vue, app/**/*.css, app/**/*.scss, tests/**/*.spec.ts
sonar.exclusions=**/node_modules/**, **/coverage/**, *.config.ts
sonar.coverage.exclusions=tests/**, *.config.ts
# sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.javascript.lcov.reportPaths=coverage/lcov.info
# sonar.testExecutionReportPaths=coverage/sonar-report.xml