1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix tests

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-05-24 09:50:34 +03:00
parent 3edcf9cbaa
commit b897cff5a8

View File

@ -28,6 +28,12 @@ import mockFs from "mock-fs";
import fs from "fs";
import { ClusterStore } from "../../../common/cluster-store";
jest.mock("electron", () => ({
app: {
getPath: () => "/foo",
},
}));
describe("kubeconfig-sync.source tests", () => {
beforeEach(() => {
mockFs();