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

chore(tests): remove trailing comma in specs #6241

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/ng/httpSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ describe('$http', function() {
}).respond('');

$http({url: '/url', method: 'GET', headers: {
'Custom': 'header',
'Custom': 'header'
}});

$httpBackend.flush();
Expand Down
2 changes: 1 addition & 1 deletion test/ng/intervalSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('$interval', function() {
nextTime:(now + delay),
delay: delay,
fn: fn,
id: nextRepeatId,
id: nextRepeatId
});
repeatFns.sort(function(a,b){ return a.nextTime - b.nextTime;});

Expand Down
2 changes: 1 addition & 1 deletion test/ng/sceSpecs.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ describe('SCE', function() {
it('should support multiple items in both lists', runTest(
{
whiteList: [/^http:\/\/example.com\/1$/, /^http:\/\/example.com\/2$/, /^http:\/\/example.com\/3$/, 'self'],
blackList: [/^http:\/\/example.com\/3$/, /.*\/open_redirect/],
blackList: [/^http:\/\/example.com\/3$/, /.*\/open_redirect/]
}, function($sce) {
expect($sce.getTrustedResourceUrl('same_domain')).toEqual('same_domain');
expect($sce.getTrustedResourceUrl('http://example.com/1')).toEqual('http://example.com/1');
Expand Down