diff --git a/client/src/__tests__/pages/ManageRoom/ManageRoom.test.tsx b/client/src/__tests__/pages/ManageRoom/ManageRoom.test.tsx
index ada27f0..463f737 100644
--- a/client/src/__tests__/pages/ManageRoom/ManageRoom.test.tsx
+++ b/client/src/__tests__/pages/ManageRoom/ManageRoom.test.tsx
@@ -21,7 +21,7 @@ jest.mock('src/pages/Teacher/ManageRoom/RoomContext');
jest.mock('qrcode.react', () => ({
__esModule: true,
- default: ({ value }: { value: string }) =>
{value}
+ default: (props: { value: string }) => {props.value}
,
}));
const mockSocket = {
@@ -319,7 +319,7 @@ describe('ManageRoom', () => {
await waitFor(() => expect(screen.queryByText('Rejoindre la salle')).not.toBeInTheDocument());
});
-
+
test('Affiche le bon lien de participation', () => {
render();
@@ -335,6 +335,6 @@ describe('ManageRoom', () => {
fireEvent.click(screen.getByRole('button', { name: /lien de participation/i }));
const roomUrl = `${window.location.origin}/student/join-room?roomName=Test Room`;
- expect(screen.getByTestId('qr-code')).toHaveTextContent(`${roomUrl}`);
+ expect(screen.getByTestId('qr-code')).toHaveTextContent(roomUrl);
});
});