Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[web][photos] Remove redundant Links filter assertions

AswinAsokedf9b3e7fc57
diff --git a/web/apps/photos/tests/album-filters.test.ts b/web/apps/photos/tests/album-filters.test.ts
index ae694f197b..ec63a24730 100644
--- a/web/apps/photos/tests/album-filters.test.ts
+++ b/web/apps/photos/tests/album-filters.test.ts
@@ -85,9 +85,6 @@ describe("album filters shared by the dialog and sidebar", () => {
expect(ids("ente")).toEqual([1, 2, 3, 4]);
expect(ids("shared")).toEqual([2, 4]);
expect(ids("received")).toEqual([3]);
- expect(
- visibleAlbumFilters(albums).map(({ value }) => value),
- ).not.toContain("links");
expect(albums.map(({ id }) => id)).toEqual([1, 2, 3, 4, 5]);
});
diff --git a/web/apps/photos/tests/sidebar-album-search.test.tsx b/web/apps/photos/tests/sidebar-album-search.test.tsx
index 22bf2613c1..20182685bd 100644
--- a/web/apps/photos/tests/sidebar-album-search.test.tsx
+++ b/web/apps/photos/tests/sidebar-album-search.test.tsx
@@ -123,8 +123,6 @@ describe("sidebar album search across groups", () => {
expect(html).toContain('aria-label="shared_albums_title"');
expect(html).toContain("Family");
expect(html).toContain("Holiday album");
- expect(html).not.toContain('aria-label="links_albums_title"');
- expect(html).not.toContain("Trip link");
expect(html).not.toContain("no-matches.svg");
},
);