fix: address review - paginate GH releases, GitLab tag_name, docs, test

- Paginate GitHub releases via api.paginate to avoid missing tags beyond page 1
- Use tag_name instead of name for GitLab releases (name is a display label)
- Remove ArchiveTeam Warrior from widget-configured note in docs
- Fix test assertion to use objectContaining for error shape with message
This commit is contained in:
Thomas Camlong committed 2026-06-27 13:02:58 +02:00
1 parent 64c7512283
commit e687bc8c92
3 files changed
+9 -6

No files matched your search

@@ -106,7 +106,10 @@ describe("getLatestMatchingReleaseAsync for GitHub Container Registry", () => {
identifier: "ghcr.io/homarr-labs",
});
expect(result).toEqual({ success: false, error: { code: "invalidIdentifier" } });
expect(result).toEqual({
success: false,
error: expect.objectContaining({ code: "invalidIdentifier" }),
});
expect(mockedFetch).not.toHaveBeenCalled();
});