mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 21:31:46 +00:00
7a22d742ab
Adds new and expanded test suites across client and server to cover the OAuth 2.1 scope system, MCP session manager, collab service, unified memories helpers, OIDC service, budget slice, and OAuth authorize page. Also extends SonarQube coverage exclusions to include bootstrapping files (migrations, scheduler, main.tsx, types.ts) that are not meaningfully testable.
28 lines
893 B
Properties
28 lines
893 B
Properties
sonar.projectKey=TREK
|
|
sonar.projectName=TREK
|
|
sonar.sourceEncoding=UTF-8
|
|
|
|
# Sources
|
|
sonar.sources=client/src,server/src
|
|
sonar.exclusions=**/node_modules/**,**/dist/**,**/build/**
|
|
|
|
# Tests
|
|
sonar.tests=server/tests,client/tests,client/src
|
|
sonar.test.inclusions=server/tests/**/*.ts,client/**/*.test.ts,client/**/*.test.tsx
|
|
|
|
# Coverage — path relative to repo root
|
|
sonar.javascript.lcov.reportPaths=server/coverage/lcov.info,client/coverage/lcov.info
|
|
|
|
# Exclude test files from source analysis and exclude infrastructure/bootstrap files
|
|
sonar.exclusions=**/node_modules/**,**/dist/**,**/build/**,**/*.test.ts,**/*.test.tsx
|
|
sonar.coverage.exclusions=\
|
|
server/src/index.ts,\
|
|
server/src/db/database.ts,\
|
|
server/src/db/seeds.ts,\
|
|
server/src/demo/**,\
|
|
server/src/config.ts,\
|
|
server/src/db/migrations.ts,\
|
|
server/src/scheduler.ts,\
|
|
client/src/main.tsx,\
|
|
client/src/types.ts
|