resetDocfyRegistry()

Resets the controller registry between test suites to avoid cross-contamination.

Usage

Import it from nestjs-docfy/testing and call it in beforeEach:

ts
import { resetDocfyRegistry } from "nestjs-docfy/testing";

beforeEach(() => resetDocfyRegistry());