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:
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();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user