@forge/react
11.18.0-next.011.18.0-next.1
out/router/utils/test-utils.d.ts+
out/router/utils/test-utils.d.tsNew file+10
Index: package/out/router/utils/test-utils.d.ts
===================================================================
--- package/out/router/utils/test-utils.d.ts
+++ package/out/router/utils/test-utils.d.ts
@@ -0,0 +1,10 @@
+import { History } from 'history';
+/**
+ * Creates a mock history object that emulates the v4 history API.
+ * The bridge returns a v4-style history object at runtime where `listen`
+ * calls back with `location` directly, but `createMemoryHistory` from
+ * the installed history v5 package passes `{ action, location }`.
+ * This wrapper adapts the v5 listener to behave like v4.
+ */
+export declare const createMockHistory: (initialPath?: string) => History;
+//# sourceMappingURL=test-utils.d.ts.map
\ No newline at end of file