From a18c64a285bb312ad853213f53306886fa5e0d37 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 5 Feb 2026 23:53:12 +0100 Subject: [PATCH] frontend-test-utils: mock type exports comment Signed-off-by: Patrik Oldsberg --- packages/frontend-test-utils/src/apis/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/frontend-test-utils/src/apis/index.ts b/packages/frontend-test-utils/src/apis/index.ts index c0275bef3a..068c0a05ec 100644 --- a/packages/frontend-test-utils/src/apis/index.ts +++ b/packages/frontend-test-utils/src/apis/index.ts @@ -22,6 +22,11 @@ export { attachMockApiFactory, } from './utils'; +/** + * Mock API classes are exported as types only to prevent direct instantiation. + * Always use the `mockApis` namespace to create mock instances (e.g., `mockApis.alert()`). + */ + /** * @public */