{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/11230","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/11230/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/11230/comments","events_url":"https://api.github.com/repos/angular/angular/issues/11230/events","html_url":"https://github.com/angular/angular/issues/11230","id":174474540,"number":11230,"title":"RC6 unit tests with mocha fail to run","user":{"login":"mattlewis92","id":6425649,"avatar_url":"https://avatars.githubusercontent.com/u/6425649?v=3","gravatar_id":"","url":"https://api.github.com/users/mattlewis92","html_url":"https://github.com/mattlewis92","followers_url":"https://api.github.com/users/mattlewis92/followers","following_url":"https://api.github.com/users/mattlewis92/following{/other_user}","gists_url":"https://api.github.com/users/mattlewis92/gists{/gist_id}","starred_url":"https://api.github.com/users/mattlewis92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattlewis92/subscriptions","organizations_url":"https://api.github.com/users/mattlewis92/orgs","repos_url":"https://api.github.com/users/mattlewis92/repos","events_url":"https://api.github.com/users/mattlewis92/events{/privacy}","received_events_url":"https://api.github.com/users/mattlewis92/received_events","type":"User","site_admin":false},"labels":[{"id":209239910,"url":"https://api.github.com/repos/angular/angular/labels/comp:%20testing","name":"comp: testing","color":"c7def8","default":false},{"id":130606848,"url":"https://api.github.com/repos/angular/angular/labels/type:%20RFC%20/%20discussion%20/%20question","name":"type: RFC / discussion / question","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2016-09-01T09:15:13Z","updated_at":"2016-11-16T17:55:16Z","closed_at":null,"body":"**I'm submitting a ...**  (check one with \"x\")\n\n```\n[*] bug report => search github for a similar issue or PR before submitting\n[ ] feature request\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\n```\n\n**Current behavior**\n\nNo tests run. It was working fine in RC5 and all breaking changes have been addressed. The error given is:\n\n```\nExpected to be running in 'ProxyZone', but it was not found.\nassertPresent@test.ts:6620:98\nresetFakeAsyncZone@test.ts:25346:37\ntest.ts:26216:32\n```\n\nThis is thrown before the `it` block is executed. Switching from mocha to jasmine + adding the zone jasmine patch fixes the issue as a workaround.\n\n**Expected/desired behavior**\nTests should run with mocha\n\n**Reproduction of the problem**\n\nI've put together a repo which reproduces the error here: https://github.com/mattlewis92/angular2-testing-bug/blob/master/test.ts\n\n**What is the motivation / use case for changing the behavior?**\n\nN/A\n\n**Please tell us about your environment:**\n- **Angular version:** 2.0.0-rc.6\n- **Browser:** [PhantomJS 2] \n- **Language:** [TypeScript 1.8] \n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/261020454","html_url":"https://github.com/angular/angular/issues/11230#issuecomment-261020454","issue_url":"https://api.github.com/repos/angular/angular/issues/11230","id":261020454,"user":{"login":"nording","id":2991298,"avatar_url":"https://avatars.githubusercontent.com/u/2991298?v=3","gravatar_id":"","url":"https://api.github.com/users/nording","html_url":"https://github.com/nording","followers_url":"https://api.github.com/users/nording/followers","following_url":"https://api.github.com/users/nording/following{/other_user}","gists_url":"https://api.github.com/users/nording/gists{/gist_id}","starred_url":"https://api.github.com/users/nording/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nording/subscriptions","organizations_url":"https://api.github.com/users/nording/orgs","repos_url":"https://api.github.com/users/nording/repos","events_url":"https://api.github.com/users/nording/events{/privacy}","received_events_url":"https://api.github.com/users/nording/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T17:55:16Z","updated_at":"2016-11-16T17:55:16Z","body":"There is a Mocha-patch available, https://github.com/angular/zone.js/tree/master/lib/mocha, it works well with the test utils like async and fakeAsync."}}
{"actor":{"display_login":"nording"}}