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
@@ -322,16 +322,10 @@ describe("TrackList Logic Tests", () => {
it("should invoke player when no custom callback", async () => {
const invokeMock = (invoke as any).mockResolvedValue(undefined);
// Simulate unified handler without custom callback
const onTrackClick = undefined;
if (onTrackClick) {
await onTrackClick(mockTracks[0], 0);
} else {
// This branch executes - default handler
await invoke("player_play_queue", {
request: { items: [], startIndex: 0, shuffle: false },
});
}
// Simulate unified handler without custom callback - default handler runs
await invoke("player_play_queue", {
request: { items: [], startIndex: 0, shuffle: false },
});
expect(invokeMock).toHaveBeenCalled();
});