title: ReferenceError: describe is not defined
body: <p>I am trying to run test for graphql endpoint using <a href="https://github.com/mfix22/gest" rel="nofollow noreferrer">gest</a>.  Below is my code</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const Gest = require('graphicli')
  const schema = require('./path/schema.js')
  
  const gest = Gest(schema, {
    baseURL: 'http://localhost:7770/graphql',
    headers: {
      Accept: 'application/json'
    }
  })
  
  describe('GraphQL', () =&gt; {
    test('{getAllNominator{firstName}}', () =&gt; {
      return gest('{getAllNominator{firstName}}').then(({ data, errors }) =&gt; {
        expect(errors).toBeUndefined()
        expect(data).toEqual('Adam')
      })
    })
  })</code></pre>
  </div>
  </div>
  </p>
  <p>But I am getting the following error</p>
  <blockquote>
  <p>ReferenceError: describe is not defined</p>
  </blockquote>
  <p>As per the solution give in <a href="https://stackoverflow.com/questions/28400459/referenceerror-describe-is-not-defined-nodejs">Solution Link</a> I ran the file using <em>mocha</em>.  But it the gives another error</p>
  <blockquote>
  <p>ReferenceError: test is not defined</p>
  </blockquote>
  <p>I am stuck here. How can I solve this issue. And also one more question. Is <em>gest</em> and <em>mocha</em> related?
  Please some one help me out of this</p>