Skip to content

Commit 7fd0db0

Browse files
Akshat453Akshat Singh
andauthored
TravisCI: Fixing the CI build
Co-authored-by: Akshat Singh <akshatsingh@Akshats-MacBook-Air.local>
1 parent 76e39f8 commit 7fd0db0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

frontend/tests/controllers-test/featuredChallengeCtrl.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,9 @@ describe('Unit tests for featured challenge controller', function () {
274274
};
275275

276276
vm.getLeaderboard(1);
277-
278-
expect(vm.leaderboard[0].timeSpan).toBe('days');
277+
278+
expect(vm.leaderboard[0].timeSpan).toBe('month')
279+
279280
});
280281

281282
it('should set timeSpan to "months" for 3 months ago', function () {

0 commit comments

Comments
 (0)