Skip to content

Commit 221e123

Browse files
committed
fix: fixed snaps
1 parent 023db8b commit 221e123

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

__tests__/__snapshots__/index.js.snap

-3
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,6 @@ Object {
377377
"DEVELOP": "Development",
378378
"QA": "Quality Assurance",
379379
},
380-
<<<<<<< HEAD
381-
=======
382380
"OLD_COMPETITION_TRACKS": Object {
383381
"DATA_SCIENCE": "DATA_SCIENCE",
384382
"DESIGN": "DESIGN",
@@ -391,7 +389,6 @@ Object {
391389
"TEST_SCENARIOS": "TEST_SCENARIOS",
392390
"TEST_SUITES": "TEST_SUITES",
393391
},
394-
>>>>>>> 978da83... Merge pull request #238 from topcoder-platform/issue-4739-hotfix
395392
"REVIEW_OPPORTUNITY_TYPES": Object {
396393
"Contest Review": "Review",
397394
"Iterative Review": "Iterative Review",

src/services/reviewOpportunities.js

-9
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ import { getApi } from './api';
1010
* Sync the fields of V3 and V5 for front-end to process successfully
1111
* @param challenges - challenges to normalize
1212
*/
13-
<<<<<<< HEAD
14-
export function normalizeChallenges(challenges) {
15-
if (challenges) {
16-
_.map(challenges, (ch) => {
17-
const { challenge } = ch;
18-
if (challenge.technologies && challenge.technologies.includes('Data Science')) {
19-
challenge.track = 'DATA_SCIENCE';
20-
=======
2113
export function normalizeChallenges(opportunities) {
2214
if (opportunities) {
2315
/* Issue#4739 : Temporary add track to review opportunities challenges
@@ -36,7 +28,6 @@ export function normalizeChallenges(opportunities) {
3628
challenge.track = COMPETITION_TRACKS.QA;
3729
} else if (challenge.track === OLD_COMPETITION_TRACKS.DESIGN) {
3830
challenge.track = COMPETITION_TRACKS.DESIGN;
39-
>>>>>>> 978da83... Merge pull request #238 from topcoder-platform/issue-4739-hotfix
4031
}
4132
return _.defaults(ch, { challenge });
4233
});

0 commit comments

Comments
 (0)