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

Commit 85bb85c

Browse files
author
Vikas Agarwal
committed
Github issue #919, Few Unit tests failing after angular 1.6.x release
-- Fixed lint errors
1 parent 2d4c680 commit 85bb85c

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

app/my-dashboard/header-dashboard/header-dashboard.spec.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ const mockData = require('../../../tests/test-helpers/mock-data')
33

44
/* jshint -W117, -W030 */
55
describe('Header Dashboard Controller', function() {
6-
var identity
76
var profile = mockData.getMockProfile()
8-
var stats = mockData.getMockStats()
9-
var financials = mockData.getMockUserFinancials()
107

118
beforeEach(function() {
129
bard.appModule('topcoder')
@@ -15,13 +12,6 @@ describe('Header Dashboard Controller', function() {
1512
'$rootScope',
1613
'$q',
1714
'Helpers')
18-
19-
identity = function() {
20-
return {
21-
handle: 'albertwang',
22-
userId: 123456
23-
}
24-
}
2515
})
2616

2717
bard.verifyNoOutstandingHttpRequests()

app/services/externalAccounts.service.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ describe('ExternalAccount Service', function() {
240240
expect(resp).to.exist
241241
expect(resp.status).to.exist.to.equal('failed')
242242
})
243-
$rootScope.$apply();
243+
$rootScope.$apply()
244244
})
245245

246246
})

0 commit comments

Comments
 (0)