Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

fix(frontend): allow null users in mock API options (#7357)

Ludy84804d7ce3c4
diff --git a/frontend/editor/src/core/tests/helpers/api-stubs.ts b/frontend/editor/src/core/tests/helpers/api-stubs.ts
index 00d4d98b81..b1d792699b 100644
--- a/frontend/editor/src/core/tests/helpers/api-stubs.ts
+++ b/frontend/editor/src/core/tests/helpers/api-stubs.ts
@@ -126,7 +126,7 @@ export interface MockAppApiOptions {
username?: string;
email?: string;
roles?: string[];
- };
+ } | null;
/** Languages advertised by `/config/app-config`. */
languages?: string[];
/** Default locale. */