mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Fix unit tests failing due to bug in cycle detection
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
35c3d31f2a
commit
5198cb6f27
2 files changed
+9
-6
No files matched your search
@@ -22,7 +22,9 @@ import { messagingFeature, testUtils as messagingTestUtils } from "@k8slens/mess
|
||||
|
||||
export const getDiForUnitTesting = () => {
|
||||
const environment = "renderer";
|
||||
const di = createContainer(environment);
|
||||
const di = createContainer(environment, {
|
||||
detectCycles: false,
|
||||
});
|
||||
|
||||
registerMobX(di);
|
||||
registerInjectableReact(di);
|
||||
|
||||
Reference in new issue
Block a user