Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed May 7, 2024
1 parent eb39155 commit 9115ee8
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { renderApp, app, mockDate } from "@/test";
import { renderApp, screen, mockDate } from "@/test";

import { CustomDayContent } from "./CustomDayContent";

Expand All @@ -13,6 +13,5 @@ beforeEach(() => {
});

test("should render time elements", () => {
const timeElements = app().getElementsByTagName("time");
expect(timeElements).toHaveLength(30);
expect(screen.getByText("🎉")).toBeInTheDocument();
});

0 comments on commit 9115ee8

Please sign in to comment.