{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/zone.js/issues/399","repository_url":"https://api.github.com/repos/angular/zone.js","labels_url":"https://api.github.com/repos/angular/zone.js/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/angular/zone.js/issues/399/comments","events_url":"https://api.github.com/repos/angular/zone.js/issues/399/events","html_url":"https://github.com/angular/zone.js/issues/399","id":171413326,"number":399,"title":"0.6.13 - TypeError: Cannot read property 'length' of undefined","user":{"login":"CrisGrec","id":12608550,"avatar_url":"https://avatars.githubusercontent.com/u/12608550?v=3","gravatar_id":"","url":"https://api.github.com/users/CrisGrec","html_url":"https://github.com/CrisGrec","followers_url":"https://api.github.com/users/CrisGrec/followers","following_url":"https://api.github.com/users/CrisGrec/following{/other_user}","gists_url":"https://api.github.com/users/CrisGrec/gists{/gist_id}","starred_url":"https://api.github.com/users/CrisGrec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrisGrec/subscriptions","organizations_url":"https://api.github.com/users/CrisGrec/orgs","repos_url":"https://api.github.com/users/CrisGrec/repos","events_url":"https://api.github.com/users/CrisGrec/events{/privacy}","received_events_url":"https://api.github.com/users/CrisGrec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-16T13:43:47Z","updated_at":"2016-08-16T13:43:47Z","closed_at":null,"body":"Since updating from `0.6.12` to `0.6.13` I get the following stacktrace when using `fakeAsync` in my tests:\r\n\r\n```\r\nTypeError: Cannot read property 'length' of undefined\r\n    at flushErrors (dist/vendor/zone.js/dist/fake-async-test.js:227:79)\r\n    at FakeAsyncTestZoneSpec.flushMicrotasks (dist/vendor/zone.js/dist/fake-async-test.js:236:14)\r\n    at flushMicrotasks (dist/vendor/@angular/core/testing/fake_async.js:97:29)\r\n    at eval (dist/vendor/@angular/core/testing/fake_async.js:42:13)\r\n    at ZoneDelegate.invoke (dist/vendor/zone.js/dist/zone.js:332:29)\r\n    at Zone.run (dist/vendor/zone.js/dist/zone.js:225:44)\r\n    at Object.eval (dist/vendor/@angular/core/testing/fake_async.js:40:33)\r\n```\r\n\r\nExample usage of `fakeAsync` in our tests:\r\n\r\n```\r\nit('...',\r\n  fakeAsync(inject([WebSocketService, ExtractorService],\r\n    (webSocketService: WebSocketService, extractorService: ExtractorService) => {\r\n      tick(1000);\r\n      expect(extractorService.getStatus()).toBe(ExtractorStatus.DISCONNECTED);\r\n      discardPeriodicTasks();\r\n  }))\r\n);\r\n```\r\n\r\nRolling back to `0.6.12` for now."}}
{"actor":{"display_login":"CrisGrec"}}