From 1941c51d9a80051bb4ee634a4372a2ddb9f6c932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guillois?= Date: Wed, 13 Nov 2024 16:08:15 +0100 Subject: [PATCH] fix: lint --- frontend/src/views/Campaign/test/CampaignView.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Campaign/test/CampaignView.test.tsx b/frontend/src/views/Campaign/test/CampaignView.test.tsx index 1f4a64537..f9e35c35d 100644 --- a/frontend/src/views/Campaign/test/CampaignView.test.tsx +++ b/frontend/src/views/Campaign/test/CampaignView.test.tsx @@ -293,7 +293,7 @@ describe('Campaign view', () => { }); await user.click(edit); const [aside] = await screen.findAllByRole('complementary'); - let [ ignoreButton ] = await within(aside).findAllByRole('button', { + const [ ignoreButton ] = await within(aside).findAllByRole('button', { name: /^Ignorer/ }); expect(ignoreButton).toBeInTheDocument();