testem-time-reporter
Advanced tools
Comparing version 1.2.12 to 2.0.0
@@ -63,5 +63,5 @@ /* eslint-env node */ | ||
if (data.runDuration > 2000) { | ||
write(chalk.red(result)); | ||
} else if (data.runDuration > 1000) { | ||
write(chalk.magenta(result)); | ||
} else if (data.runDuration > 1000) { | ||
write(chalk.red(result)); | ||
} else if (data.runDuration > 500) { | ||
@@ -93,3 +93,3 @@ write(chalk.yellow(result)); | ||
} | ||
write(`\nLEGEND: ${chalk.blue('Skipped')} ${chalk.magenta('Tests > 2 seconds')} ${chalk.red('Tests > 1 second')} ${chalk.yellow('Tests > 0.5 seconds')}\n`); | ||
write(`\nLEGEND: ${chalk.blue('Skipped')} ${chalk.red('Tests > 2 seconds')} ${chalk.magenta('Tests > 1 second')} ${chalk.yellow('Tests > 0.5 seconds')}\n`); | ||
} | ||
@@ -96,0 +96,0 @@ }; |
{ | ||
"name": "testem-time-reporter", | ||
"version": "1.2.12", | ||
"version": "2.0.0", | ||
"description": "A testem reporter for highlighting tests", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -38,2 +38,9 @@ # Testem Time Reporter | ||
## Colors | ||
* Red > 2 seconds | ||
* Magenta > 1 second | ||
* Yellow > 0.5 seconds | ||
* Blue is for skipped tests | ||
## Notes | ||
@@ -40,0 +47,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
10168
53
7