section-tests
Advanced tools
Comparing version 1.2.4 to 1.2.5
{ | ||
"name": "section-tests", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "TDD for node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -112,3 +112,3 @@ { | ||
displaySetupStartMessage(message) { | ||
if (!this.setupStarted) console.log(''), this.setupStarted = true; | ||
//if (!this.setupStarted) console.log(''), this.setupStarted = true; | ||
console.log(`${this.pad(4)}${chalk.dim('⬇ ')}${chalk.white(message.name)}`); | ||
@@ -119,3 +119,3 @@ } | ||
displaySetupErrorMessage(message) { | ||
if (!this.setupStarted) console.log(''), this.setupStarted = true; | ||
//if (!this.setupStarted) console.log(''), this.setupStarted = true; | ||
console.log(`${this.pad(4)}${chalk.red('✖ ')}${chalk.yellow(`${message.name}:`)} ${chalk.white(message.err.message)}\n`); | ||
@@ -129,3 +129,3 @@ message.err.stack.forEach((frame) => { | ||
displaySetupSuccessMessage(message) { | ||
if (!this.setupStarted) console.log(''), this.setupStarted = true; | ||
//if (!this.setupStarted) console.log(''), this.setupStarted = true; | ||
console.log(`${this.pad(4)}${chalk.green('✔ ')}${chalk.white(message.name)}${this.getDurationMark(message)}`); | ||
@@ -204,3 +204,3 @@ } | ||
displayDestroyerStartMessage(message) { | ||
if (!this.destroyingStarted) console.log(''), this.destroyingStarted = true; | ||
//if (!this.destroyingStarted) console.log(''), this.destroyingStarted = true; | ||
console.log(`${this.pad(4)}${chalk.dim('⬇ ')}${chalk.white(message.name)}`); | ||
@@ -211,3 +211,3 @@ } | ||
displayDestroyerErrorMessage(message) { | ||
if (!this.destroyingStarted) console.log(''), this.destroyingStarted = true; | ||
//if (!this.destroyingStarted) console.log(''), this.destroyingStarted = true; | ||
console.log(`${this.pad(4)}${chalk.red('✖ ')}${chalk.yellow(`${message.name}:`)} ${chalk.white(message.err.message)}\n`); | ||
@@ -221,3 +221,3 @@ message.err.stack.forEach((frame) => { | ||
displayDestroyerSuccessMessage(message) { | ||
if (!this.destroyingStarted) console.log(''), this.destroyingStarted = true; | ||
//if (!this.destroyingStarted) console.log(''), this.destroyingStarted = true; | ||
console.log(`${this.pad(4)}${chalk.green('✔ ')}${chalk.white(message.name)}${this.getDurationMark(message)}`); | ||
@@ -224,0 +224,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115711