title: Angular2 + Meteor: How to use fakeAsync calls in component tests
body: <p>I would like to test some Router logic in a component test (in an <code>angular2-meteor</code> project) and therefore I wanted to use <code>fakeAsync(...)</code>. As a result, I am getting the following error in the browser when running <code>npm test</code>:</p>
  
  <pre><code>Error: Expected to be running in 'ProxyZone', but it was not found.proxy.js
  </code></pre>
  
  <p>Having searched the web for similar issues I found <a href="https://github.com/angular/angular/issues/11230" rel="nofollow noreferrer">https://github.com/angular/angular/issues/11230</a>. It suggests that <code>zone.js/mocha-patch</code> is already available to wrap the tests in an appropriate Zone.</p>
  
  <p>If I import <code>mocha-patch</code> in <code>init.test.js</code> then I get the following error:</p>
  
  <pre><code>TypeError: mochaOriginal.beforeEach is undefined
  </code></pre>
  
  <p>I assume it is too early to use mocha-patch in <code>init.test.js</code>.</p>
  
  <p>How should I use it in an angular-meteor project (based on angular2-meteor-base boilerplate)?</p>
  
  <p>Thanks for any help in advance.</p>