mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Unify build fs layout (#6717)
* unify build fs layout Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * use currentApp path for static files Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * lint fix Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * absolute override path for tests Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
fe0c13424a
commit
4ac47fa795
14 files changed
+46
-45
No files matched your search
@@ -79,7 +79,7 @@ describe("installing update", () => {
|
||||
|
||||
it("shows normal tray icon", () => {
|
||||
expect(builder.tray.getIconPath()).toBe(
|
||||
"/some-static-files-directory/icons/trayIconTemplate.png",
|
||||
"/some-static-files-directory/build/tray/trayIconTemplate.png",
|
||||
);
|
||||
});
|
||||
|
||||
@@ -97,7 +97,7 @@ describe("installing update", () => {
|
||||
|
||||
it("shows tray icon for checking for updates", () => {
|
||||
expect(builder.tray.getIconPath()).toBe(
|
||||
"/some-static-files-directory/icons/trayIconCheckingForUpdatesTemplate.png",
|
||||
"/some-static-files-directory/build/tray/trayIconCheckingForUpdatesTemplate.png",
|
||||
);
|
||||
});
|
||||
|
||||
@@ -114,7 +114,7 @@ describe("installing update", () => {
|
||||
|
||||
it("shows tray icon for normal", () => {
|
||||
expect(builder.tray.getIconPath()).toBe(
|
||||
"/some-static-files-directory/icons/trayIconTemplate.png",
|
||||
"/some-static-files-directory/build/tray/trayIconTemplate.png",
|
||||
);
|
||||
});
|
||||
|
||||
@@ -141,7 +141,7 @@ describe("installing update", () => {
|
||||
|
||||
it("still shows tray icon for downloading", () => {
|
||||
expect(builder.tray.getIconPath()).toBe(
|
||||
"/some-static-files-directory/icons/trayIconCheckingForUpdatesTemplate.png",
|
||||
"/some-static-files-directory/build/tray/trayIconCheckingForUpdatesTemplate.png",
|
||||
);
|
||||
});
|
||||
|
||||
@@ -160,7 +160,7 @@ describe("installing update", () => {
|
||||
|
||||
it("still shows normal tray icon", () => {
|
||||
expect(builder.tray.getIconPath()).toBe(
|
||||
"/some-static-files-directory/icons/trayIconTemplate.png",
|
||||
"/some-static-files-directory/build/tray/trayIconTemplate.png",
|
||||
);
|
||||
});
|
||||
|
||||
@@ -180,7 +180,7 @@ describe("installing update", () => {
|
||||
|
||||
it("shows tray icon for update being available", () => {
|
||||
expect(builder.tray.getIconPath()).toBe(
|
||||
"/some-static-files-directory/icons/trayIconUpdateAvailableTemplate.png",
|
||||
"/some-static-files-directory/build/tray/trayIconUpdateAvailableTemplate.png",
|
||||
);
|
||||
});
|
||||
|
||||
@@ -197,7 +197,7 @@ describe("installing update", () => {
|
||||
|
||||
it("shows tray icon for checking for updates", () => {
|
||||
expect(builder.tray.getIconPath()).toBe(
|
||||
"/some-static-files-directory/icons/trayIconCheckingForUpdatesTemplate.png",
|
||||
"/some-static-files-directory/build/tray/trayIconCheckingForUpdatesTemplate.png",
|
||||
);
|
||||
});
|
||||
|
||||
@@ -215,7 +215,7 @@ describe("installing update", () => {
|
||||
|
||||
it("shows tray icon for update being available", () => {
|
||||
expect(builder.tray.getIconPath()).toBe(
|
||||
"/some-static-files-directory/icons/trayIconUpdateAvailableTemplate.png",
|
||||
"/some-static-files-directory/build/tray/trayIconUpdateAvailableTemplate.png",
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -234,7 +234,7 @@ describe("installing update", () => {
|
||||
|
||||
it("shows tray icon for downloading update", () => {
|
||||
expect(builder.tray.getIconPath()).toBe(
|
||||
"/some-static-files-directory/icons/trayIconCheckingForUpdatesTemplate.png",
|
||||
"/some-static-files-directory/build/tray/trayIconCheckingForUpdatesTemplate.png",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user