feat: support protected resource metadata for mcp server #76
Annotations
3 errors
codecov
Process completed with exit code 1.
|
src/handlers/handle-bearer-auth.test.ts > handleBearerAuth() > should throw an error if issuer is not a valid URL:
packages/mcp-auth/src/handlers/handle-bearer-auth.test.ts#L49
Error: snapshot function didn't throw
❯ src/handlers/handle-bearer-auth.test.ts:49:7
|
src/index.integration.test.ts > MCPAuth class (bearerAuth) > should return 401 if the token is invalid:
packages/mcp-auth/src/index.integration.test.ts#L76
Error: expected 401 "Unauthorized", got 500 "Internal Server Error"
❯ src/index.integration.test.ts:76:86
❯ Test._assertStatus ../../node_modules/.pnpm/supertest@7.1.0/node_modules/supertest/lib/test.js:267:14
❯ ../../node_modules/.pnpm/supertest@7.1.0/node_modules/supertest/lib/test.js:323:13
❯ Test._assertFunction ../../node_modules/.pnpm/supertest@7.1.0/node_modules/supertest/lib/test.js:300:13
❯ Test.assert ../../node_modules/.pnpm/supertest@7.1.0/node_modules/supertest/lib/test.js:179:23
❯ Server.localAssert ../../node_modules/.pnpm/supertest@7.1.0/node_modules/supertest/lib/test.js:135:14
|