title: Protractor Flake guidance needed to rerun failed test cases
body: <p>Please correct my understanding for the below:  </p>
  
  <ul>
  <li>I've installed protractor flake </li>
  <li>From the website we have 2 sets of
  code</li>
  </ul>
  
  <p><strong>My assumption</strong></p>
  
  <p>I'm pretty sure the B part needs to be given in <code>configuration.js</code> file
    of my protractor project but the A part where exactly should it be written.
    As a separate file should i write it and then require them in the spec file which i'm running.I need exact steps as to achieve the above</p>
  
  <p>The usage section which starts with below:</p>
  
  <pre class="lang-js prettyprint-override"><code>    **var protractorFlake = require('protractor-flake')
      // OR using es6 modules/typescript
      import protractorFlake = require('protractor-flake')**
      and ends with **process.exit(status)**
  </code></pre>
  
  <p>and the parsers section which starts with
  <code>module.exports = { till return [...failedSpecs]</code></p>