From 947830904239d51ec9e94971fed6346c1089911f Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 23 Jan 2023 19:01:28 +0100 Subject: chore: make Links and Images compliant with Next.js 13 --- src/components/organisms/layout/comment.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/organisms/layout/comment.test.tsx') diff --git a/src/components/organisms/layout/comment.test.tsx b/src/components/organisms/layout/comment.test.tsx index dc6d18d..7290c6c 100644 --- a/src/components/organisms/layout/comment.test.tsx +++ b/src/components/organisms/layout/comment.test.tsx @@ -30,7 +30,7 @@ describe('Comment', () => { screen.getByRole('link', { name: `${formattedDate} at ${formattedTime}`, }) - ).toHaveAttribute('href', `/#comment-${id}`); + ).toHaveAttribute('href', `#comment-${id}`); }); it('renders a reply button', () => { -- cgit v1.2.3