mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix mocking of user-store
Signed-off-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
1 parent
a917bb409c
commit
dc8123416e
2 files changed
+9
-2
No files matched your search
@@ -1,5 +1,13 @@
|
||||
jest.mock("electron")
|
||||
jest.mock("../../../src/common/user-store")
|
||||
jest.mock("../../../src/common/user-store", () => ({
|
||||
UserStore: {
|
||||
getInstance: () => ({
|
||||
getPreferences: () => ({
|
||||
downloadMirror: "default",
|
||||
})
|
||||
})
|
||||
}
|
||||
}))
|
||||
|
||||
import { Kubectl } from "../../../src/main/kubectl"
|
||||
|
||||
|
||||
Reference in new issue
Block a user