Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
fix: log a path to an HTML report after tests finish
Browse files Browse the repository at this point in the history
  • Loading branch information
eGavr committed Dec 23, 2016
1 parent 0b143cb commit 86a8466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporters/html/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ module.exports = function htmlReporter(runner, reportPath) {
const generateReportPromise = Promise.all([prepareViewData(runner), prepareImages(runner)])
.spread(view.createHtml)
.then((html) => view.save(html, reportPath))
.then(logPathToHtmlReport(reportPath))
.then(() => logPathToHtmlReport(reportPath))
.catch(logError);

runner.on(Events.END_RUNNER, () => generateReportPromise.thenReturn());
Expand Down

0 comments on commit 86a8466

Please sign in to comment.