fix: run all tests in CI and remap LCOV paths for Sonar
sonar / sonar (push) Skipped
sonar / sonar (pull_request) Canceled after 7m29s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-11 15:06:50 -03:00
co-authored by Cursor
parent 9ef746aa4f
commit b3f515bb64
3 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -11,8 +11,8 @@
"start": "node dist/hello.js",
"typecheck": "tsc --noEmit",
"migrate": "npm run build && node dist/db/migrate.js",
"test": "npm run build && node --test dist/**/*.test.js",
"test:coverage": "npm run build && node -e \"require('fs').mkdirSync('coverage',{recursive:true})\" && node --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test dist/**/*.test.js"
"test": "npm run build && node --test \"dist/**/*.test.js\"",
"test:coverage": "npm run build && node -e \"require('fs').mkdirSync('coverage',{recursive:true})\" && node --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test \"dist/**/*.test.js\" && node scripts/remap-lcov.cjs"
},
"dependencies": {
"@opentelemetry/api": "^1.9.1",