Mark OAuth consent page as excluded from unit tests

This commit is contained in:
Felipe Cardoso
2025-11-26 09:52:47 +01:00
parent 1cb3658369
commit 38114b79f9

View File

@@ -1,9 +1,15 @@
/* istanbul ignore file -- @preserve OAuth consent requires external OAuth provider flow, tested via e2e */
/**
* OAuth Consent Page
* Displays authorization consent form for OAuth provider mode (MCP integration).
*
* Users are redirected here when an external application (MCP client) requests
* access to their account. They can approve or deny the requested permissions.
*
* NOTE: This page handles OAuth consent flows and is difficult to unit test because:
* 1. It relies on URL search params from OAuth authorization requests
* 2. It has complex side effects (auth checking, API calls, redirects)
* 3. OAuth provider flows are better tested via e2e tests with mocked providers
*/
'use client';