From 162a49395155daae39f5e47834dcd851cb159c3d Mon Sep 17 00:00:00 2001 From: Yoann Moinet Date: Tue, 23 Feb 2016 16:22:27 -0500 Subject: [PATCH] fix: avoid considering the 'finish' report as an error --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index d97ef22..f99d76a 100644 --- a/src/index.js +++ b/src/index.js @@ -46,7 +46,7 @@ function start (filesPath, reporterFilePath) { addFile(file); }); - runner.on('finish', exitHandler.bind(null, {exit: true})); + runner.on('finish', exitHandler.bind(null, {exit: true}, null)); runner.run(files); } }