mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
style(warnings): added missing semi colons
This commit is contained in:
parent
ae75c35746
commit
66fec10dc3
1 changed files with 4 additions and 4 deletions
|
|
@ -174,15 +174,15 @@ describe('browser', function(){
|
|||
expect(deferId1).toBeDefined();
|
||||
expect(deferId2).toBeDefined();
|
||||
expect(deferId1).not.toEqual(deferId2);
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
describe('cancel', function() {
|
||||
it('should allow tasks to be canceled with returned deferId', function() {
|
||||
var log = [],
|
||||
deferId1 = browser.defer(function() { log.push('cancel me') }),
|
||||
deferId2 = browser.defer(function() { log.push('ok') }),
|
||||
deferId3 = browser.defer(function() { log.push('cancel me, now!') });
|
||||
deferId1 = browser.defer(function() { log.push('cancel me'); }),
|
||||
deferId2 = browser.defer(function() { log.push('ok'); }),
|
||||
deferId3 = browser.defer(function() { log.push('cancel me, now!'); });
|
||||
|
||||
expect(log).toEqual([]);
|
||||
browser.defer.cancel(deferId1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue