fix: update route test for opening thesis heading

This commit is contained in:
lda
2026-07-10 03:43:27 +07:00 Verified
parent e40fd67ca2
commit 9c93cc889c
@@ -59,7 +59,7 @@ describe("PresentationRoute", () => {
const { PresentationRoute } = await import("./PresentationRoute.js"); const { PresentationRoute } = await import("./PresentationRoute.js");
render(<PresentationRoute />); render(<PresentationRoute />);
expect(screen.getByRole("main", { name: /lda.chat presentation/i })).toBeInTheDocument(); expect(screen.getByRole("main", { name: /lda.chat presentation/i })).toBeInTheDocument();
expect(screen.getByRole("heading", { name: /Thesis/ })).toBeInTheDocument(); expect(screen.getByRole("heading", { name: /Design and Implementation of lda\.chat/i })).toBeInTheDocument();
}); });
it("starts from a scene hash and advances with keyboard", async () => { it("starts from a scene hash and advances with keyboard", async () => {