Add global override for history

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-01-05 13:27:57 -05:00
1 parent a7d214fba8
commit 5725da72b1
2 files changed
+10 -3

No files matched your search

@@ -0,0 +1,10 @@
/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { createMemoryHistory } from "history";
import { getGlobalOverride } from "../../common/test-utils/get-global-override";
import historyInjectable from "./history.injectable";
export default getGlobalOverride(historyInjectable, createMemoryHistory);