mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-08 20:33:41 +00:00
Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Alan Buscaglia <gentlemanprogramming@gmail.com>
14 lines
568 B
TypeScript
14 lines
568 B
TypeScript
import type { HttpHandler } from "msw";
|
|
|
|
/**
|
|
* Static handlers shared by every browser test — registered as defaults on
|
|
* the worker. Use this list for endpoints whose response doesn't change
|
|
* across tests (e.g. `/users/me`, `/tenants/current`, health checks).
|
|
*
|
|
* Per-domain dynamic handlers that depend on fixture data live in their own
|
|
* files alongside this index (e.g. `./attack-paths.ts`) and are imported
|
|
* directly by the tests that need them, then wired via
|
|
* `worker.use(...handlersForFixture(fx))`.
|
|
*/
|
|
export const handlers: HttpHandler[] = [];
|