mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
test: add comprehensive coverage for OAuth scopes, MCP, and core services
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.
This commit is contained in:
@@ -16,8 +16,12 @@ sonar.javascript.lcov.reportPaths=server/coverage/lcov.info,client/coverage/lcov
|
||||
# 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/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
|
||||
|
||||
Reference in New Issue
Block a user