Skip to content

Commit b8b506d

Browse files
✅ - test: attempt to fix the tests
1 parent 8c3c64f commit b8b506d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/components/DestructionListAuditLog/DestructionListAuditLogDetails.stories.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ export const AuditLogDetails: StoryObj<typeof DestructionListAuditLogDetails> =
3939

4040
expect(canvas.getByText("John Doe (johndoe)")).toBeInTheDocument();
4141
expect(
42-
canvas.getByText("van 01/01/2021 01:00 tot 31/12/2021 01:00"),
42+
canvas.getByText("01/01/2021", { exact: false }),
43+
).toBeInTheDocument();
44+
expect(
45+
canvas.getByText("31/12/2021", { exact: false }),
4346
).toBeInTheDocument();
4447
expect(canvas.getByText("This is a comment")).toBeInTheDocument();
4548
expect(canvas.getByText("10")).toBeInTheDocument;

0 commit comments

Comments
 (0)