title: Serenity-JS: ReferenceError: beforeAll is not defined
body: <p>I'm trying to run my existing Protractor script using Serenity-JS.<br>
  In order to do so, I followed the internet's instructions and added the following to my config after installing Serenity-JS ('<em>npm install -g serenity-js</em>', plus the required '<em>npm install -g mocha --save-dev</em>');</p>
  
  <pre><code>exports.config = {
      framework: 'custom',
      frameworkPath: require.resolve('serenity-js'),
      // ...
  }
  </code></pre>
  
  <p>The framework is attempting to run my test but does not seem to recognize my beforeAll().<br>
  I get the following error:</p>
  
  <pre><code>ReferenceError: beforeAll is not defined
  </code></pre>
  
  <p>My Protractor script which is referenced by my conf file contains the following code at the start:</p>
  
  <pre><code>var generic = require('./generic.js');
  var tools = new generic.Tools();
  
  describe('Testscript 1', function () {
  
      beforeAll( function () {
          //Open none angular site
          browser.driver.get('http://localhost/');
          browser.driver.findElement(by.xpath('//*[@id="url"]/option[4]')).click();
          browser.driver.findElement(by.xpath('//*[@id="submit"]')).click();
      });
  
      beforeEach(function () {
          browser.refresh();
      });
  </code></pre>
  
  <p>I'm totally new to a framework around Protractor, so I have no idea where to look.<br>
  Can someone please point me in the right direction?</p>
  
  <p>Thanks in advance!</p>