Skip to content

Commit e6fdf24

Browse files
Merge branch 'integration-v5-challenge-api' into issue-4408
2 parents e36c4c4 + 0777387 commit e6fdf24

File tree

37 files changed

+412
-266
lines changed

37 files changed

+412
-266
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ workflows:
209209
filters:
210210
branches:
211211
only:
212-
- hot-fix
213212
- integration-v5-challenge-api
214213
# This is beta env for production soft releases
215214
- "build-prod-beta":
@@ -224,7 +223,7 @@ workflows:
224223
filters:
225224
branches:
226225
only:
227-
- integration-v5-challenge-api
226+
- develop
228227
# Production builds are exectuted
229228
# when PR is merged to the master
230229
# Don't change anything in this configuration

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ exports[`Matches shallow shapshot 1`] = `
6060
<div
6161
className="src-shared-components-Dashboard-SRM-___styles__srms-links___JFdeQ"
6262
>
63-
<a
64-
href="https://www.topcoder-dev.com/my-srms/"
65-
>
66-
View Past SRMS
67-
</a>
6863
<a
6964
href="https://arena.topcoder-dev.com"
7065
>

__tests__/shared/components/challenge-listing/ChallengeCard/__snapshots__/index.jsx.snap

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ exports[`Matches shallow shapshot shapshot 1 1`] = `
4949
newChallengeDetails={false}
5050
onTechTagClicked={[Function]}
5151
openChallengesInNewTabs={false}
52-
prizeMode="money-usd"
53-
userHandle=""
52+
userId=""
5453
/>
5554
`;
5655

@@ -67,6 +66,7 @@ exports[`Matches shallow shapshot shapshot 2 1`] = `
6766
"currentPhases": Array [
6867
"Registration",
6968
],
69+
"events": Array [],
7070
"id": "1",
7171
"legacy": Object {
7272
"track": "DATA_SCIENCE",
@@ -93,8 +93,7 @@ exports[`Matches shallow shapshot shapshot 2 1`] = `
9393
newChallengeDetails={false}
9494
onTechTagClicked={[Function]}
9595
openChallengesInNewTabs={false}
96-
prizeMode="money-usd"
97-
userHandle=""
96+
userId=""
9897
/>
9998
`;
10099

@@ -111,6 +110,7 @@ exports[`Matches shallow shapshot shapshot 3 1`] = `
111110
"currentPhases": Array [
112111
"Registration",
113112
],
113+
"events": Array [],
114114
"id": "long id",
115115
"legacy": Object {
116116
"track": "DATA_SCIENCE",
@@ -133,7 +133,6 @@ exports[`Matches shallow shapshot shapshot 3 1`] = `
133133
newChallengeDetails={false}
134134
onTechTagClicked={[Function]}
135135
openChallengesInNewTabs={false}
136-
prizeMode="money-usd"
137-
userHandle=""
136+
userId=""
138137
/>
139138
`;

__tests__/shared/components/challenge-listing/ChallengeCard/index.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const mockData2 = {
5656
id: '1',
5757
totalPrize: 1800,
5858
users: {},
59+
events: [],
5960
},
6061
};
6162

@@ -76,6 +77,7 @@ const mockData3 = {
7677
id: 'long id',
7778
totalPrize: 1800,
7879
users: {},
80+
events: [],
7981
},
8082
};
8183

@@ -96,6 +98,7 @@ const mockData4 = {
9698
id: 'long id',
9799
totalPrize: 1800,
98100
users: {},
101+
events: [],
99102
},
100103
};
101104

@@ -116,6 +119,7 @@ const mockData5 = {
116119
id: 'long id',
117120
totalPrize: 1800,
118121
users: {},
122+
events: [],
119123
},
120124
};
121125

__tests__/shared/components/challenge-listing/Listing/__snapshots__/Bucket.jsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ exports[`Matches shallow shapshot 1`] = `
8989
setFilterState={[MockFunction]}
9090
setSort={[MockFunction]}
9191
sort=""
92-
userHandle=""
92+
userId=""
9393
/>
9494
</StaticRouter>
9595
`;
@@ -240,7 +240,7 @@ exports[`Matches shallow shapshot 2`] = `
240240
setFilterState={[MockFunction]}
241241
setSort={[MockFunction]}
242242
sort=""
243-
userHandle=""
243+
userId=""
244244
/>
245245
</StaticRouter>
246246
`;
@@ -278,7 +278,7 @@ exports[`Matches shallow shapshot 3`] = `
278278
setFilterState={[MockFunction]}
279279
setSort={[MockFunction]}
280280
sort=""
281-
userHandle=""
281+
userId=""
282282
/>
283283
</StaticRouter>
284284
`;

0 commit comments

Comments
 (0)