From 464bd532f7871bed9d608c66fe25ba1957218dda Mon Sep 17 00:00:00 2001 From: Bastien Dumont <bdumont@grandlyon.com> Date: Wed, 7 Feb 2024 17:34:15 +0100 Subject: [PATCH] chore: useless assignment to a variable --- .../Quiz/QuizQuestion/QuizQuestionContentCustom.spec.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Quiz/QuizQuestion/QuizQuestionContentCustom.spec.tsx b/src/components/Quiz/QuizQuestion/QuizQuestionContentCustom.spec.tsx index 62b571998..12809ef89 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]} -- GitLab