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

Commit 890cc37

Browse files
author
vikasrohit
committed
AS#112412760157010, Marathon Match link broken on Dashboard (for both challenge page and submissions) (Front end)
-- Fixed unit tests
1 parent aa93811 commit 890cc37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/filters/filters.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ describe('filters', function() {
9595
rounds: [{id: 3,forumId: 2}],
9696
track: 'DATA_SCIENCE',
9797
subTrack : 'MARATHON_MATCH',
98-
componentId: [4],
99-
problemId: [5],
98+
componentId: 4,
99+
problemId: 5,
100100
status: 'PAST'
101101
}
102102
expect(challengeLinksFilter(_ch, 'submit')).to.be.equal('https://community.'+domain+'/longcontest/?module=Submit&compid=4&rd=3&cd=1')
@@ -111,8 +111,8 @@ describe('filters', function() {
111111
rounds: [{id: 3,forumId: 2}],
112112
track: 'DATA_SCIENCE',
113113
subTrack : 'MARATHON_MATCH',
114-
componentId: [4],
115-
problemId: [5],
114+
componentId: 4,
115+
problemId: 5,
116116
status: 'ACTIVE'
117117
}
118118
expect(challengeLinksFilter(_ch, 'submit')).to.be.equal('https://community.'+domain+'/longcontest/?module=Submit&compid=4&rd=3&cd=1')

0 commit comments

Comments
 (0)