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

Remove tests that reference lastSeenVersion

- That value is not used anywhere in code

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-11-30 16:04:36 -05:00
parent a4ae7c0b41
commit 303a397209

View File

@ -73,11 +73,6 @@ describe("user store tests", () => {
userStore.load();
});
it("allows setting and retrieving lastSeenAppVersion", () => {
userStore.lastSeenAppVersion = "1.2.3";
expect(userStore.lastSeenAppVersion).toBe("1.2.3");
});
it("allows setting and getting preferences", () => {
userStore.httpsProxy = "abcd://defg";
@ -131,10 +126,6 @@ describe("user store tests", () => {
userStore.load();
});
it("sets last seen app version to 0.0.0", () => {
expect(userStore.lastSeenAppVersion).toBe("0.0.0");
});
it.only("skips clusters for adding to kube-sync with files under extension_data/", () => {
expect(userStore.syncKubeconfigEntries.has("some-directory-for-user-data/extension_data/foo/bar")).toBe(false);
expect(userStore.syncKubeconfigEntries.has("some/other/path")).toBe(true);