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

Commit

Permalink
Merge pull request #703 from gemini-testing/fix/log-path-to-html-report
Browse files Browse the repository at this point in the history
fix: log a path to an HTML report after tests finish
  • Loading branch information
eGavr authored Dec 23, 2016
2 parents 0b143cb + 86a8466 commit 34dc1bd
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 34dc1bd

Please sign in to comment.