title: TestCafe "fixture is not defined" error when importing fixture and tests from multiple files into main.js file
body: <p>I am unable to import tests and a fixture into one main.ts file to run all my tests at once. For organization purposes, I have my tests organized into separate folders. I am getting the error:</p>
  <pre><code>ERROR Cannot prepare tests due to an error.
  ReferenceError: fixture is not defined
  </code></pre>
  <p>I've created a main.ts file to run all my tests. I import Fixture(), Test1() and Test2().</p>
  <p>main.ts</p>
  <pre><code>import { Fixture } from &quot;../utils/envUtils&quot;;
  import { Test1 } from &quot;./testSet1/test1&quot;;
  import { Test2 } from &quot;./testSet2/test2&quot;;
  
  Fixture();
  Test1();
  Test2();
  </code></pre>
  <p>Fixture.ts</p>
  <pre><code>export const Fixture = () =&gt; {
      fixture(&quot;Running tests&quot;)
  }
  </code></pre>
  <p>Test1.ts</p>
  <pre><code>export function Test1() {
      test(&quot;Test1&quot;, async (t: TestController) =&gt; {
           ...
      }
  }
  </code></pre>
  <p>Test2.ts</p>
  <pre><code>export function Test2() {
      test(&quot;Test2&quot;, async (t: TestController) =&gt; {
           ...
      }
  }
  </code></pre>
  <p>If I manually copy and paste the Test1() and Test2() code into the main.ts file, it works. Any help is appreciated. Thanks!</p>