feat: show page context in browser tab titles
This commit is contained in:
@@ -55,6 +55,7 @@ describe("RouteErrorBoundary", () => {
|
||||
it("offers login after a public route error without error details", () => {
|
||||
authenticated = false;
|
||||
renderBoundary("/login");
|
||||
expect(document.title).toBe("Не удалось открыть страницу — WealthLedger");
|
||||
expect(screen.getByRole("link", { name: "Продолжить" })).toHaveAttribute(
|
||||
"href",
|
||||
"/login",
|
||||
|
||||
Reference in New Issue
Block a user