Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ffe5115

Browse files
clkaopkozlowski-opensource
authored andcommitted
style(tests): remove trailing comma in specs
Closes #6241
1 parent 61b2515 commit ffe5115

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/ng/httpSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ describe('$http', function() {
676676
}).respond('');
677677

678678
$http({url: '/url', method: 'GET', headers: {
679-
'Custom': 'header',
679+
'Custom': 'header'
680680
}});
681681

682682
$httpBackend.flush();

test/ng/intervalSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('$interval', function() {
1414
nextTime:(now + delay),
1515
delay: delay,
1616
fn: fn,
17-
id: nextRepeatId,
17+
id: nextRepeatId
1818
});
1919
repeatFns.sort(function(a,b){ return a.nextTime - b.nextTime;});
2020

test/ng/sceSpecs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ describe('SCE', function() {
436436
it('should support multiple items in both lists', runTest(
437437
{
438438
whiteList: [/^http:\/\/example.com\/1$/, /^http:\/\/example.com\/2$/, /^http:\/\/example.com\/3$/, 'self'],
439-
blackList: [/^http:\/\/example.com\/3$/, /.*\/open_redirect/],
439+
blackList: [/^http:\/\/example.com\/3$/, /.*\/open_redirect/]
440440
}, function($sce) {
441441
expect($sce.getTrustedResourceUrl('same_domain')).toEqual('same_domain');
442442
expect($sce.getTrustedResourceUrl('http://example.com/1')).toEqual('http://example.com/1');

0 commit comments

Comments
 (0)