Skip to content

Commit 4a094e1

Browse files
committed
updated tests
1 parent 39f3588 commit 4a094e1

File tree

11 files changed

+24
-68
lines changed

11 files changed

+24
-68
lines changed

__tests__/shared/components/Dashboard/MyChallenges/__snapshots__/ChallengeLinks.jsx.snap

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ exports[`Matches shallow shapshot 2`] = `
4747
<div
4848
className="src-shared-components-Dashboard-MyChallenges-ChallengeLinks-___style__icon___3IZGz src-shared-components-Dashboard-MyChallenges-ChallengeLinks-___style__registrants-icon___tm0l6"
4949
/>
50-
<p>
51-
0
52-
</p>
50+
<p />
5351
</a>
5452
<a
5553
className="src-shared-components-Dashboard-MyChallenges-ChallengeLinks-___style__submissions___3TDly"

__tests__/shared/components/Dashboard/MyChallenges/__snapshots__/ChallengeTile.jsx.snap

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -633,9 +633,7 @@ exports[`Matches shallow shapshot 7`] = `
633633
<span>
634634
Role:
635635
</span>
636-
<span>
637-
638-
</span>
636+
<span />
639637
</p>
640638
</div>
641639
</div>
@@ -671,9 +669,7 @@ exports[`Matches shallow shapshot 8`] = `
671669
<span>
672670
Role:
673671
</span>
674-
<span>
675-
676-
</span>
672+
<span />
677673
</p>
678674
</header>
679675
<div

__tests__/shared/components/Dashboard/Program/__snapshots__/IosCard.jsx.snap

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ exports[`Matches shallow shapshot 1`] = `
1919
</a>
2020
<p
2121
className="src-shared-components-Dashboard-Program-___IosCard__subtrack-color___2axPS"
22-
>
23-
24-
</p>
22+
/>
2523
</div>
2624
<div
2725
className="src-shared-components-Dashboard-Program-___IosCard__challenge-links___2nxNN"
@@ -103,9 +101,7 @@ exports[`Matches shallow shapshot 2`] = `
103101
</a>
104102
<p
105103
className="src-shared-components-Dashboard-Program-___IosCard__subtrack-color___2axPS"
106-
>
107-
108-
</p>
104+
/>
109105
</div>
110106
<div
111107
className="src-shared-components-Dashboard-Program-___IosCard__challenge-links___2nxNN"
@@ -199,9 +195,7 @@ exports[`Matches shallow shapshot 3`] = `
199195
</a>
200196
<p
201197
className="src-shared-components-Dashboard-Program-___IosCard__subtrack-color___2axPS"
202-
>
203-
204-
</p>
198+
/>
205199
</div>
206200
<div
207201
className="src-shared-components-Dashboard-Program-___IosCard__challenge-links___2nxNN"

__tests__/shared/components/Dashboard/SRM/__snapshots__/SRMTile.jsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exports[`Matches shallow shapshot 1`] = `
2222
Starts in
2323
<span>
2424
1d
25-
1d
25+
1d
2626
</span>
2727
</p>
2828
<div
@@ -85,7 +85,7 @@ exports[`Matches shallow shapshot 2`] = `
8585
Starts in
8686
<span>
8787
1d
88-
1d
88+
1d
8989
</span>
9090
</p>
9191
<div

__tests__/shared/components/Dashboard/__snapshots__/SubtrackStats.jsx.snap

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ exports[`Matches shallow shapshot 1`] = `
2323
<p
2424
className="src-shared-components-Dashboard-SubtrackStats-___styles__subtrack___2TXRB"
2525
title=""
26-
>
27-
28-
</p>
26+
/>
2927
<p
3028
className="src-shared-components-Dashboard-SubtrackStats-___styles__rating___9uUVx"
3129
style={
@@ -56,9 +54,7 @@ exports[`Matches shallow shapshot 1`] = `
5654
<p
5755
className="src-shared-components-Dashboard-SubtrackStats-___styles__subtrack___2TXRB"
5856
title=""
59-
>
60-
61-
</p>
57+
/>
6258
<p
6359
className="src-shared-components-Dashboard-SubtrackStats-___styles__rating___9uUVx"
6460
style={
@@ -101,9 +97,7 @@ exports[`Matches shallow shapshot 1`] = `
10197
<p
10298
className="src-shared-components-Dashboard-SubtrackStats-___styles__subtrack___2TXRB"
10399
title=""
104-
>
105-
106-
</p>
100+
/>
107101
<p
108102
className="src-shared-components-Dashboard-SubtrackStats-___styles__rating___9uUVx"
109103
style={
@@ -134,9 +128,7 @@ exports[`Matches shallow shapshot 1`] = `
134128
<p
135129
className="src-shared-components-Dashboard-SubtrackStats-___styles__subtrack___2TXRB"
136130
title=""
137-
>
138-
139-
</p>
131+
/>
140132
<p
141133
className="src-shared-components-Dashboard-SubtrackStats-___styles__rating___9uUVx"
142134
style={

__tests__/shared/components/Leaderboard/__snapshots__/LeaderboardTable.jsx.snap

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,10 @@ exports[`Matches shallow shapshot 1`] = `
8080
</td>
8181
<td
8282
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-challenges___29htm"
83-
>
84-
0
85-
</td>
83+
/>
8684
<td
8785
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-points___10Lis"
88-
>
89-
0
90-
</td>
86+
/>
9187
</tr>
9288
<tr>
9389
<td
@@ -137,14 +133,10 @@ exports[`Matches shallow shapshot 1`] = `
137133
</td>
138134
<td
139135
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-challenges___29htm"
140-
>
141-
0
142-
</td>
136+
/>
143137
<td
144138
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-points___10Lis"
145-
>
146-
0
147-
</td>
139+
/>
148140
</tr>
149141
<tr>
150142
<td
@@ -194,14 +186,10 @@ exports[`Matches shallow shapshot 1`] = `
194186
</td>
195187
<td
196188
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-challenges___29htm"
197-
>
198-
0
199-
</td>
189+
/>
200190
<td
201191
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-points___10Lis"
202-
>
203-
0
204-
</td>
192+
/>
205193
</tr>
206194
<tr>
207195
<td
@@ -251,14 +239,10 @@ exports[`Matches shallow shapshot 1`] = `
251239
</td>
252240
<td
253241
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-challenges___29htm"
254-
>
255-
0
256-
</td>
242+
/>
257243
<td
258244
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-points___10Lis"
259-
>
260-
0
261-
</td>
245+
/>
262246
</tr>
263247
</tbody>
264248
</table>

__tests__/shared/components/SubmissionManagement/__snapshots__/ScreeningDetails.jsx.snap

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ exports[`Snapshot match 1`] = `
99
>
1010
<p
1111
className="src-shared-components-SubmissionManagement-ScreeningDetails-___styles__status-title___3HTbG"
12-
>
13-
14-
</p>
12+
/>
1513
</div>
1614
<p>
1715
Your submission has been received, and will be evaluated during Review phase.

__tests__/shared/components/SubmissionManagement/__snapshots__/ScreeningStatus.jsx.snap

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ exports[`Snapshot match 6`] = `
105105
>
106106
<span
107107
className="src-shared-components-SubmissionManagement-ScreeningStatus-___styles__status___1CCjJ"
108-
>
109-
110-
</span>
108+
/>
111109
<span
112110
className="src-shared-components-SubmissionManagement-ScreeningStatus-___styles__warning___6tSHD"
113111
>

__tests__/shared/components/__snapshots__/Select.jsx.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ exports[`Matches shallow shapshot 1`] = `
3232
noResultsText="No results found"
3333
onBlurResetsInput={true}
3434
onCloseResetsInput={true}
35-
openAfterFocus={false}
3635
optionComponent={[Function]}
3736
pageSize={5}
3837
placeholder="Select..."

__tests__/shared/components/challenge-listing/Filters/__snapshots__/DateRangePicker.jsx.snap

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ exports[`Matches shallow shapshot 1`] = `
1818
hideKeyboardShortcutsPanel={false}
1919
horizontalMargin={0}
2020
initialVisibleMonth={null}
21-
inputIconPosition="before"
2221
isDayBlocked={[Function]}
2322
isDayHighlighted={[Function]}
2423
isOutsideRange={[Function]}
@@ -34,7 +33,6 @@ exports[`Matches shallow shapshot 1`] = `
3433
onFocusChange={[Function]}
3534
onNextMonthClick={[Function]}
3635
onPrevMonthClick={[Function]}
37-
openDirection="down"
3836
orientation="horizontal"
3937
phrases={
4038
Object {
@@ -51,7 +49,7 @@ exports[`Matches shallow shapshot 1`] = `
5149
"jumpToNextMonth": "Move forward to switch to the next month",
5250
"jumpToPrevMonth": "Move backward to switch to the previous month",
5351
"keyboardNavigationInstructions": "Press the down arrow key to interact with the calendar and
54-
select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",
52+
select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",
5553
"keyboardShortcuts": "Keyboard Shortcuts",
5654
"leftArrowRightArrow": "Right and left arrow keys",
5755
"moveFocusByOneDay": "Move backward (left) and forward (right) by one day",
@@ -79,7 +77,6 @@ exports[`Matches shallow shapshot 1`] = `
7977
startDate={null}
8078
startDateId="startDate"
8179
startDatePlaceholderText="Start Date"
82-
weekDayFormat="dd"
8380
withFullScreenPortal={false}
8481
withPortal={false}
8582
/>

__tests__/shared/components/tc-communities/__snapshots__/JoinCommunity.jsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ exports[`Matches shallow shapshot 4`] = `
7171
<p
7272
className="src-shared-components-tc-communities-JoinCommunity-___style__modalMsg___25f_a"
7373
>
74-
You have joined
74+
You have joined the
7575
ios
7676
!
7777
</p>

0 commit comments

Comments
 (0)