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

Commit 86a8466

Browse files
committed
fix: log a path to an HTML report after tests finish
1 parent 0b143cb commit 86a8466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/reporters/html/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ module.exports = function htmlReporter(runner, reportPath) {
126126
const generateReportPromise = Promise.all([prepareViewData(runner), prepareImages(runner)])
127127
.spread(view.createHtml)
128128
.then((html) => view.save(html, reportPath))
129-
.then(logPathToHtmlReport(reportPath))
129+
.then(() => logPathToHtmlReport(reportPath))
130130
.catch(logError);
131131

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

0 commit comments

Comments
 (0)