title: Why testcafe runs tests twice?
body: <p>I just don't understand, why testcafe runs this test twice in my case :</p>
  <p>MainApp.ts :</p>
  <pre><code>const getUrl = ClientFunction(() =&gt; window.location.href);
  class MainApp {
    async login(url:string) {
      await t.expect(getUrl()).eql(url);
    }} 
  export default new MainApp();
  </code></pre>
  <p>Test.ts :</p>
  <pre><code>import MailosaurClient from &quot;mailosaur&quot;;
  import { Selector, t } from &quot;testcafe&quot;;
  import MainApp from &quot;./MainApp&quot;;
  const testUrl = `https://www.google.com/`;
  fixture(&quot;fixture&quot;)
    .page(&quot;https://www.google.com/&quot;)
    .beforeEach(async (t) =&gt; {
      console.log(&quot;test&quot;);
    })
    .disablePageCaching(&quot;fixture&quot;);
  
  test(&quot;Test&quot;, async (t) =&gt; {
    console.log(&quot;Starting test&quot;);
    await MainApp.login(
      testUrl
    );
  </code></pre>