diff --git a/src/components/Quiz/QuizQuestion/QuizQuestionContentCustom.spec.tsx b/src/components/Quiz/QuizQuestion/QuizQuestionContentCustom.spec.tsx index 62b571998ea0bbd8885641513bb09b8996ca701e..12809ef896773c3bc99e5b90f74c05926316ed62 100644 --- a/src/components/Quiz/QuizQuestion/QuizQuestionContentCustom.spec.tsx +++ b/src/components/Quiz/QuizQuestion/QuizQuestionContentCustom.spec.tsx @@ -32,7 +32,7 @@ jest.mock('services/challenge.service', () => { describe('QuizCustomQuestionContent component', () => { const store = createMockEcolyoStore() it('should be rendered correctly', async () => { - const { container } = render( + render( <Provider store={store}> <QuizQuestionContentCustom userChallenge={userChallengeData[0]} @@ -63,7 +63,7 @@ describe('QuizCustomQuestionContent component', () => { ).toBeInTheDocument() }) it('should display QuizExplanationModal when click on Button', async () => { - const { container } = render( + render( <Provider store={store}> <QuizQuestionContentCustom userChallenge={userChallengeData[0]}