From f0b3d74c3126a207e546fcfa80aefedbdb097d74 Mon Sep 17 00:00:00 2001 From: Philippe <83185129+phil3838@users.noreply.github.com> Date: Tue, 11 Mar 2025 22:23:16 -0400 Subject: [PATCH] test fixed --- .../__tests__/components/ShareQuizModal/ShareQuizModal.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/__tests__/components/ShareQuizModal/ShareQuizModal.test.tsx b/client/src/__tests__/components/ShareQuizModal/ShareQuizModal.test.tsx index 7f7812c..2a878a5 100644 --- a/client/src/__tests__/components/ShareQuizModal/ShareQuizModal.test.tsx +++ b/client/src/__tests__/components/ShareQuizModal/ShareQuizModal.test.tsx @@ -67,7 +67,7 @@ describe('ShareQuizModal', () => { // Check if the alert is shown await waitFor(() => { - expect(window.alert).toHaveBeenCalledWith('URL copied to clipboard!'); + expect(window.alert).toHaveBeenCalledWith('URL a été copiée avec succès.'); }); });