Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
jasmine-console-reporter-custom-1
Advanced tools
Console Reporter for Jasmine. Outputs detailed test results to the console, with beautiful layout and colors. This is the default reporter of grunt-jasmine-nodejs.
Console Reporter for Jasmine. Outputs detailed test results to the console, with beautiful layout and colors. This is the default reporter of grunt-jasmine-nodejs.
Author: Onur Yıldırım (onury) © 2016
Licensed under the MIT License.
Example output from grunt-jasmine-nodejs.
npm install jasmine-console-reporter
var JasmineConsoleReporter = require('jasmine-console-reporter');
var reporter = new JasmineConsoleReporter({
colors: 1, // (0|false)|(1|true)|2
cleanStack: 1, // (0|false)|(1|true)|2|3
verbosity: 4, // (0|false)|1|2|(3|true)|4
listStyle: 'indent', // "flat"|"indent"
activity: false
});
// pass the initialized reporter to whichever task or host...
colors — Type: Number
|Boolean
Default: 1
Specifies whether the output should have colored text. Possible integer values: 0 to 2. Set to 1
(or true
) to enable colors. Set to 2
to use the ANSI escape codes. Option 2
can be useful if, for example, you're running your tests from a sub-process, and the colors aren't showing up.
cleanStack — Type: Number|Boolean
Default: 1
Specifies the filter level for the error stacks. Possible integer values: 0 to 3. Set to 1
(or true
) to only filter out lines with jasmine-core path from stacks. Set to 2
to filter out all node_modules
paths. Set to 3
to also filter out lines with no file path in it.
verbosity — Type: Number|Boolean
Default: 4
(alias: verbose
) Specifies the verbosity level for the reporter output. Possible integer values: 0 to 4. When a Boolean
value is passed, true
defaults to 4
and false
defaults to 0
. Level 0: reports errors only. Level 1: also displays a summary. Level 2: also reports pending specs. Level 3: additionally displays all suites and specs as a list, except disabled specs. Level 4: also lists disabled specs.
listStyle — Type: String
Default: "indent"
Indicates the style of suites/specs list output. Possible values: "flat"
or "indent"
. Setting this to "indent"
provides a better view especially when using nested (describe) suites. This option is only effective when verbosity level is set to 3
, 4
or true
.
activity — Type: Boolean
Default: false
Specifies whether to enable the activity indicator animation that outputs the current spec that is being executed. If your tests log extra data to console, this option should be disabled or they might be overwritten.
v1.2.7 (2016-08-21)
cleanStack
option would render the first line as the error message, not respecting messages with \n
(new-line) in them. Fixed.v1.2.6 (2016-05-09)
v1.2.4 (2016-03-18)
v1.2.2 (2016-02-27)
v1.2.0 (2016-02-26)
v1.1.3 (2015-07-05)
verbosity
levels (0 to 4). Setting to 3
will not report disabled specs anymore while listing others. Set to 4
(default) for the most verbose report.v1.1.0 (2015-05-01)
v1.0.1 (2015-04-27)
activity
option to false
. This should not be enabled if your tests log extra data to console. Fixed activity output.v1.0.0 (2015-04-21)
colors
is enabled.cleanStack
now also accepts a Number
(integer) to determine the filter level. See documentation.listStyle
. See documentation.verbosity
(alias: verbose
) now also accepts a Number
(integer) to determine the verbosity level. See documentation.activity
. See documentation.v0.7.2 (2015-03-11)
fit(...)
); which was breaking the spec-run.v0.7.1 (2015-03-06)
v0.7.0 (2015-03-04)
cleanStack
.v0.6.3 (2015-03-03)
null
stack trace & peer jasmine-core. (PR by @fiznool)v0.6.2 (2015-03-01)
v0.6.0 (2015-02-12)
v0.5.1 (2015-02-07)
v0.5.0 (2015-02-07)
FAQs
Console Reporter for Jasmine. Outputs detailed test results to the console, with beautiful layout and colors. This is the default reporter of grunt-jasmine-nodejs.
The npm package jasmine-console-reporter-custom-1 receives a total of 0 weekly downloads. As such, jasmine-console-reporter-custom-1 popularity was classified as not popular.
We found that jasmine-console-reporter-custom-1 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.