fix: clean up final 16 no-unused-vars warnings (#22751)

This commit is contained in:
Kit Langton 2026-04-15 23:54:21 -04:00 committed by GitHub
commit 9f4b73b6a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 8 additions and 37 deletions

View file

@ -652,9 +652,8 @@ test("McpOAuthCallback.cancelPending is keyed by mcpName but pendingAuths uses o
// The callback should still be pending because cancelPending looked up
// "my-mcp-server" in a map keyed by "abc123hexstate"
let resolved = false
let rejected = false
callbackPromise.then(() => (resolved = true)).catch(() => (rejected = true))
callbackPromise.then(() => {}).catch(() => (rejected = true))
// Give it a tick
await new Promise((r) => setTimeout(r, 50))