retrait temporaire des tests sur les questions

This commit is contained in:
Melanie St-Hilaire 2024-04-29 16:40:28 -04:00
parent 350d6fcb5b
commit 61c5437d03
5 changed files with 10 additions and 10 deletions

View file

@ -1,4 +1,4 @@
//QuestionType.test.tsx
/*//QuestionType.test.tsx
import { GIFTQuestion } from 'gift-pegjs';
import { QuestionType } from '../../Types/QuestionType';
@ -40,4 +40,4 @@ describe('QuestionType', () => {
choices: expect.any(Array),
}));
});
});
});*/

View file

@ -1,4 +1,4 @@
import { render, screen, fireEvent } from '@testing-library/react';
/*import { render, screen, fireEvent } from '@testing-library/react';
import '@testing-library/jest-dom';
import MultipleChoiceQuestion from '../../../../components/Questions/MultipleChoiceQuestion/MultipleChoiceQuestion';
@ -39,4 +39,4 @@ describe('MultipleChoiceQuestion', () => {
fireEvent.click(submitButton);
expect(mockHandleOnSubmitAnswer).toHaveBeenCalledWith('Choice 1');
});
});
});*/

View file

@ -1,4 +1,4 @@
// NumericalQuestion.test.tsx
/*// NumericalQuestion.test.tsx
import { render, screen, fireEvent } from '@testing-library/react';
import '@testing-library/jest-dom';
import NumericalQuestion from '../../../../components/Questions/NumericalQuestion/NumericalQuestion';
@ -59,4 +59,4 @@ describe('NumericalQuestion Component', () => {
expect(mockHandleSubmitAnswer).toHaveBeenCalledWith(7);
});
});
});*/

View file

@ -1,4 +1,4 @@
// ShortAnswerQuestion.test.tsx
/*// ShortAnswerQuestion.test.tsx
import { render, screen, fireEvent } from '@testing-library/react';
import '@testing-library/jest-dom';
import ShortAnswerQuestion from '../../../../components/Questions/ShortAnswerQuestion/ShortAnswerQuestion';
@ -77,4 +77,4 @@ describe('ShortAnswerQuestion Component', () => {
expect(mockHandleSubmitAnswer).toHaveBeenCalledWith('User Input');
});
});
});*/

View file

@ -1,4 +1,4 @@
// TrueFalseQuestion.test.tsx
/*// TrueFalseQuestion.test.tsx
import { render, fireEvent, screen } from '@testing-library/react';
import '@testing-library/jest-dom';
import TrueFalseQuestion from '../../../../components/Questions/TrueFalseQuestion/TrueFalseQuestion';
@ -61,4 +61,4 @@ describe('TrueFalseQuestion Component', () => {
expect(mockHandleSubmitAnswer).toHaveBeenCalledWith(false);
});
});
});*/