fix(FN-XXX): update release notes link in update notification
This commit is contained in:
5
.changeset/fix-update-release-notes-link.md
Normal file
5
.changeset/fix-update-release-notes-link.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Fix the update notification release notes link so it points to the repo changelog.
|
||||
@@ -15,7 +15,7 @@ export function UpdateAvailableBanner({ latestVersion, currentVersion, onDismiss
|
||||
update. {" "}
|
||||
<a
|
||||
className="update-available-banner__link"
|
||||
href="https://github.com/Runfusion/Fusion/releases"
|
||||
href="https://github.com/Runfusion/Fusion/blob/main/CHANGELOG.md"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
|
||||
@@ -13,7 +13,7 @@ describe("UpdateAvailableBanner", () => {
|
||||
expect(screen.getByText("npm i -g @runfusion/fusion")).toBeInTheDocument();
|
||||
expect(screen.getByRole("link", { name: "Release notes" })).toHaveAttribute(
|
||||
"href",
|
||||
"https://github.com/Runfusion/Fusion/releases",
|
||||
"https://github.com/Runfusion/Fusion/blob/main/CHANGELOG.md",
|
||||
);
|
||||
expect(screen.getByRole("link", { name: "Learn more" })).toHaveAttribute("href", "https://runfusion.ai");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user