inspector/clients/web/src/test/integration/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall f4b6095719 test: close ≥90% per-file coverage gaps for mid-session auth
The mid-session auth work passed `validate`/CI but failed the local-only
`npm run test:coverage` per-file gate (≥90% lines/statements/functions/
branches) on 12 files. Add targeted unit/integration tests so every changed
file clears the gate; annotate provably-dead defensive branches with justified
`/* v8 ignore */` comments rather than relaxing the gate.

Files brought to ≥90 on all four dimensions:
- core/auth: mcpAuth, oauthUx, utils, challenge, node/runner-interactive-oauth
- core/mcp: oauthManager, inspectorClient, node/authChallengeFetch,
  remote/remoteClientTransport, remote/node/{remote-session,server}
- clients/web/src/utils: oauthResume, browserTabVisibility

`npm run test:coverage` now passes (3575 tests, 0 threshold failures);
`npm run validate` green across all four clients.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DZyeWManYTvcXxjcrhxSQc
2026-07-03 12:54:37 -04:00
..
import test: raise per-file coverage gate to 90 across all clients (closes #1271) (#1532) 2026-06-27 15:26:03 -04:00
node feat(web,core): persist & edit STDIO cwd/env in Server Settings (#1515) (#1518) 2026-06-24 19:15:43 -04:00
remote test: close ≥90% per-file coverage gaps for mid-session auth 2026-07-03 12:54:37 -04:00
ema-mock-servers.ts Guided-auth removal, OAuth smoke testing, and TUI/CLI support (#1531) 2026-06-29 15:35:51 -04:00
inspectorClient-coverage-backfill.test.ts test: raise per-file coverage gate to 90 across all clients (closes #1271) (#1532) 2026-06-27 15:26:03 -04:00
inspectorClient-ema-e2e.test.ts feat(web,core): enterprise-managed authorization (EMA) (#1509) (#1512) 2026-06-24 22:15:12 -04:00
inspectorClient-oauth-direct-mid-session-e2e.test.ts All of the mid-session and step-up auth work 2026-07-02 16:35:31 -07:00
inspectorClient-oauth-e2e.test.ts Guided-auth removal, OAuth smoke testing, and TUI/CLI support (#1531) 2026-06-29 15:35:51 -04:00
inspectorClient-oauth-fetchFn.test.ts test: switch integration project to folder-based manifest (#1314) (#1318) 2026-05-18 11:54:49 -04:00
inspectorClient-oauth-remote-mid-session-e2e.test.ts All of the mid-session and step-up auth work 2026-07-02 16:35:31 -07:00
inspectorClient-oauth-remote-storage-e2e.test.ts Guided-auth removal, OAuth smoke testing, and TUI/CLI support (#1531) 2026-06-29 15:35:51 -04:00
inspectorClient-oauth.test.ts Guided-auth removal, OAuth smoke testing, and TUI/CLI support (#1531) 2026-06-29 15:35:51 -04:00
inspectorClient.test.ts All of the mid-session and step-up auth work 2026-07-02 16:35:31 -07:00
test-server-protected-resource.test.ts All of the mid-session and step-up auth work 2026-07-02 16:35:31 -07:00