Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 04550b6

Browse files
author
vikasrohit
committed
SUP-3058, Adapt FE according to new json structure of challenge endpoint
-- Minor change for unit tests
1 parent 84a15a9 commit 04550b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/challenge.service.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ describe('Challenge Service', function() {
725725
]
726726
ChallengeService.processPastChallenges(challenges)
727727
var challenge = challenges[0]
728-
expect(challenge.highestPlacement).not.to.exist.to
728+
expect(challenge.highestPlacement).not.to.exist
729729
expect(challenge.wonFirst).to.exist.to.false
730730
expect(challenge.userStatus).to.exist.to.equal('PASSED_REVIEW')
731731
expect(challenge.userHasSubmitterRole).to.exist.to.true

0 commit comments

Comments
 (0)