From 6337c02467b0af63665ef8aef4c73e9ce1bfc46a Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Tue, 3 May 2022 15:54:34 +0200 Subject: [PATCH] update snapshot after merging dev --- .../__snapshots__/ChallengeView.spec.tsx.snap | 66 +++++++++---------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/src/components/Challenge/__snapshots__/ChallengeView.spec.tsx.snap b/src/components/Challenge/__snapshots__/ChallengeView.spec.tsx.snap index 9c3bd9e45..3d17797f4 100644 --- a/src/components/Challenge/__snapshots__/ChallengeView.spec.tsx.snap +++ b/src/components/Challenge/__snapshots__/ChallengeView.spec.tsx.snap @@ -1,42 +1,42 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`ChallengeView component should be rendered correctly 1`] = ` -<React.Fragment> - <CozyBar - titleKey="common.title_challenge" - /> - <Header - desktopTitleKey="common.title_challenge" - setHeaderHeight={[Function]} - /> - <Content - height={0} - > - <div - className="challengeSlider" - onClick={[Function]} - onMouseDown={[Function]} - onMouseMove={[Function]} - onMouseUp={[Function]} - onTouchEnd={[Function]} - onTouchMove={[Function]} - onTouchStart={[Function]} +<Provider + store={ + Object { + "clearActions": [Function], + "dispatch": [Function], + "getActions": [Function], + "getState": [Function], + "replaceReducer": [Function], + "subscribe": [Function], + } + } +> + <ChallengeView> + <mock-cozybar + titleKey="common.title_challenge" + /> + <mock-header + desktopTitleKey="common.title_challenge" + setHeaderHeight={[Function]} + /> + <mock-content + height={0} > <div - className="challenge-container" - style={ - Object { - "transform": "translateX(16px)", - } - } + className="challengeSlider" + onClick={[Function]} + onMouseDown={[Function]} + onMouseMove={[Function]} + onMouseUp={[Function]} + onTouchEnd={[Function]} + onTouchMove={[Function]} + onTouchStart={[Function]} > - <ChallengeCard - cardHeight={384} - cardWidth={285} - index={0} - indexSlider={0} - moveToSlide={[Function]} - userChallenge={ + <div + className="challenge-container" + style={ Object { "transform": "translateX(-874.2px)", } -- GitLab