mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-08 23:04:45 +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(deferId1).toBeDefined();
|
||||||
expect(deferId2).toBeDefined();
|
expect(deferId2).toBeDefined();
|
||||||
expect(deferId1).not.toEqual(deferId2);
|
expect(deferId1).not.toEqual(deferId2);
|
||||||
})
|
});
|
||||||
|
|
||||||
|
|
||||||
describe('cancel', function() {
|
describe('cancel', function() {
|
||||||
it('should allow tasks to be canceled with returned deferId', function() {
|
it('should allow tasks to be canceled with returned deferId', function() {
|
||||||
var log = [],
|
var log = [],
|
||||||
deferId1 = browser.defer(function() { log.push('cancel me') }),
|
deferId1 = browser.defer(function() { log.push('cancel me'); }),
|
||||||
deferId2 = browser.defer(function() { log.push('ok') }),
|
deferId2 = browser.defer(function() { log.push('ok'); }),
|
||||||
deferId3 = browser.defer(function() { log.push('cancel me, now!') });
|
deferId3 = browser.defer(function() { log.push('cancel me, now!'); });
|
||||||
|
|
||||||
expect(log).toEqual([]);
|
expect(log).toEqual([]);
|
||||||
browser.defer.cancel(deferId1);
|
browser.defer.cancel(deferId1);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue