title: How to setup allure-report in nightwatch?
body: <p>I am pretty new to allure-report. Can someone share the setup and configuration part of allure-report in nightwatch ?.</p>
  
  <p><a href="https://i.stack.imgur.com/I1MCh.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I1MCh.jpg" alt="enter image description here"></a></p>
  
  <p>global module</p>
  
  <pre><code>const path = require('path');
  const cwd = process.cwd();
  
  module.exports = {
      reporter: function(results , done) {
        let srcResult = path.join(cwd,'/reports/client','*.xml');
        console.log('path to the reports'+srcResult);
        var generation = allure(["generate", "--clean", srcResult]);
        generation.on ('exit',()=&gt;{
          done();
        });
      }
  };
  
  path to the reportsC:\uiautomation\reports\client\*.xml
  C:\uiautomation\reports\client\CHROME_80.0.3987.122_Windows_user_registration.xml is not a directory
  Report successfully generated to allure-report```
  
  
  </code></pre>