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" globalFeedback="feedback"
questionTitle="Test Question" questionTitle="Test Question"
choices={choices} choices={choices}
handleOnSubmitAnswer={mockHandleOnSubmitAnswer} handleOnSubmitAnswer={mockHandleOnSubmitAnswer} questionContent={''} />
/>
); );
}); });

View file

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

View file

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

View file

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