New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

karma-mocha-reporter

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-mocha-reporter - npm Package Compare versions

Comparing version 0.3.2 to 1.0.0

8

index.js

@@ -31,3 +31,3 @@ 'use strict';

function getLogSymbol(symbol) {
function getLogSymbol (symbol) {
return chalk.enabled ? symbol : chalk.stripColor(symbol);

@@ -320,5 +320,7 @@ }

self.write(chalk.red(getLogSymbol(logSymbols.error) + ' ' + results.failed + ' tests failed\n'));
self.write(chalk.underline.bold('\nFAILED TESTS:') + '\n');
printFailures(self.allResults);
if (outputMode !== 'noFailures') {
self.write(chalk.underline.bold('\nFAILED TESTS:') + '\n');
printFailures(self.allResults);
}
}

@@ -325,0 +327,0 @@ }

{
"name": "karma-mocha-reporter",
"description": "Karma reporter with mocha style logging.",
"version": "0.3.2",
"version": "1.0.0",
"homepage": "http://www.litixsoft.de/modules-karmamochareporter",

@@ -54,3 +54,3 @@ "author": "Litixsoft GmbH <info@litixsoft.de> (http://www.litixsoft.de)",

"jasmine-core": "2.2.0",
"karma-detect-browsers": "^1.0.0",
"karma-detect-browsers": "^1.1.0",
"karma-jasmine": "^0.3.5"

@@ -57,0 +57,0 @@ },

@@ -51,7 +51,9 @@ # karma-mocha-reporter

**Possible Values:**
* `full` (default)
* `autowatch`
* `minimal`
With option `full` all output is printed to the console. The option `autowatch` means that the first run will have the full output and the next runs just output the summary and errors in mocha style. With the option `minimal` only the summary and errors are printed to the console in mocha style.
Value | Description
------ | -----------
`full` (default) | all output is printed to the console
`autowatch` | first run will have the full output and the next runs just output the summary and errors in mocha style
`minimal` | only the summary and errors are printed to the console in mocha style
`noFailures` | the failure details are not logged

@@ -99,2 +101,6 @@ ```js

## Release History
### v1.0.0
* add output option `noFailures` - when set, the failure details are not logged
* time to get final with 1.0.0 :-)
### v0.3.2

@@ -101,0 +107,0 @@ * strip color from symbols when colors is set to false

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc