1 | const allureReporter = require('nightwatch-allure');
|
2 | const path = require('path');
|
3 | module.exports = {
|
4 | reporter: (results, done) => {
|
5 | const reporter = new allureReporter.NightwatchAllureReporter({
|
6 | folder: path.resolve(process.cwd(), '.reports/allure'),
|
7 | });
|
8 | reporter.write(results, done);
|
9 | },
|
10 | };
|