diff --git a/package.json b/package.json index 4e01a9c..a1ebce1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mocha-reporter-spec-with-retries", - "version": "0.0.3", + "version": "0.0.4", "description": "Mocha's spec reporter with retried test information.", "main": "src/index.js", "files": [ diff --git a/src/index.js b/src/index.js index 13dd6dc..d0ad4be 100644 --- a/src/index.js +++ b/src/index.js @@ -64,12 +64,13 @@ function SpecWithRetries (runner, options) { Base.consoleLog(fmt, stats.failures); Base.list(this.failures); - Base.consoleLog(); } // unstable tests if (stats.unstables.length) { - fmt = color('bright yellow', ' Unstable(s):'); + Base.consoleLog(); + + fmt = color('bright yellow', ' Unstable tests(s):'); Base.consoleLog(fmt);