Fix warnings and update tracability
🏗️ Build and Test JellyTau / Run Tests (push) Failing after 14s
🏗️ Build and Test JellyTau / Build Android APK (push) Has been skipped
Traceability Validation / Check Requirement Traces (push) Failing after 1s

This commit is contained in:
2026-02-28 20:54:25 +01:00
parent c5be9eb18c
commit 3a9c126dfe
59 changed files with 1285 additions and 396 deletions
+5 -5
View File
@@ -350,7 +350,7 @@ describe("Backend Integration - Refactored Business Logic", () => {
const backendUrl = "https://server.com/Videos/item123/stream.mp4?maxWidth=1280&api_key=token";
(invoke as any).mockResolvedValueOnce(backendUrl);
const url = await client.getVideoDownloadUrl("item123", "720p");
const url = await client.getVideoDownloadUrl("item123", "medium");
expect(url).toBe(backendUrl);
expect(invoke).toHaveBeenCalledWith(
@@ -454,8 +454,8 @@ describe("Backend Integration - Refactored Business Logic", () => {
it("should support complete flow: load → sort → display", async () => {
(invoke as any).mockResolvedValueOnce({
items: [
{ id: "id1", name: "Album A", sortName: "A" },
{ id: "id2", name: "Album B", sortName: "B" },
{ id: "id1", name: "Album A" },
{ id: "id2", name: "Album B" },
],
totalRecordCount: 2,
});
@@ -467,8 +467,8 @@ describe("Backend Integration - Refactored Business Logic", () => {
});
// Backend returned pre-sorted items
expect(result.items[0].sortName).toBe("A");
expect(result.items[1].sortName).toBe("B");
expect(result.items[0].name).toBe("Album A");
expect(result.items[1].name).toBe("Album B");
// Frontend just displays them
// No compareFn, no local sorting