"fetch is not found globally and no fetcher passed" when using spacejam in meteor : <p>I'm writing unit tests to check my api. Before I merged my <code>git</code> <em>test</em> branch with my <em>dev</em> branch everything was fine, but then I started to get this <em>error</em>:</p>

<pre><code>App running at: http://localhost:4096/
spacejam: meteor is ready
spacejam: spawning phantomjs
phantomjs: Running tests at http://localhost:4096/local using test-in-console
phantomjs: Error: fetch is not found globally and no fetcher passed, to fix pass a fetch for
  your environment like https://www.npmjs.com/package/unfetch.

  For example:
    import fetch from 'unfetch';
    import { createHttpLink } from 'apollo-link-http';

    const link = createHttpLink({ uri: '/graphql', fetch: fetch });
</code></pre>

<p>Here's a part of my <code>api.test.js</code> file:</p>

<pre><code>describe('GraphQL API for users', () =&gt; {
    before(() =&gt; {
      StubCollections.add([Meteor.users]);
      StubCollections.stub();
    });

    after(() =&gt; {
      StubCollections.restore();
    });

    it('should do the work', () =&gt; {
      const x = 'hello';
      expect(x).to.be.a('string');
    });
  });
</code></pre>

<p>The funniest thing is that I don't even have <code>graphql</code> in my tests (although, I use it in my <code>meteor</code> package)
Unfortunately, I didn't to find enough information (apart from <a href="https://www.apollographql.com/docs/link/links/http.html" rel="noreferrer">apollo-link-http docs</a> that has examples, but still puzzles me). I did try to use that example, but it didn't help and I still get the same error</p>
