fix build issue

This commit is contained in:
louis-antoine-etsmtl 2024-04-09 10:28:06 -04:00
parent 9f16ec97f1
commit ef0607aceb
4 changed files with 4 additions and 5 deletions

View file

@ -15,8 +15,7 @@ describe('MultipleChoiceQuestion', () => {
globalFeedback="feedback"
questionTitle="Test Question"
choices={choices}
handleOnSubmitAnswer={mockHandleOnSubmitAnswer}
/>
handleOnSubmitAnswer={mockHandleOnSubmitAnswer} questionContent={''} />
);
});

View file

@ -18,7 +18,7 @@ describe('NumericalQuestion Component', () => {
};
beforeEach(() => {
render(<NumericalQuestion {...sampleProps} />);
render(<NumericalQuestion questionContent={''} {...sampleProps} />);
});
it('renders correctly', () => {

View file

@ -34,7 +34,7 @@ describe('ShortAnswerQuestion Component', () => {
};
beforeEach(() => {
render(<ShortAnswerQuestion {...sampleProps} />);
render(<ShortAnswerQuestion questionContent={''} {...sampleProps} />);
});
it('renders correctly', () => {

View file

@ -14,7 +14,7 @@ describe('TrueFalseQuestion Component', () => {
};
beforeEach(() => {
render(<TrueFalseQuestion {...sampleProps} />);
render(<TrueFalseQuestion questionContent={''} {...sampleProps} />);
});
it('renders correctly', () => {