
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
jasmine-terminal-reporter
Advanced tools
A simple terminal reporter for Jasmine, inspired by juliemr/minijasminenode.
Get the library with
npm install jasmine-terminal-reporter
Depends on your jasmine spec runner, but to import and instantiate the reporter:
var Reporter = require('jasmine-terminal-reporter');
var reporter = new Reporter(options)
By default, the output will be fairly compact. Each test is represented by a green dot (passed), a red F (failed) or a yellow * (pending). Every failed test and expectation will be detailed, and a summary will be printed at the end:
.....................F..*..*....*.....
Failures:
1) A suite with a test will fail
1.1) Expected true to be false.
38 specs, 1 failures, 3 pending
Finished in 0.5 seconds
If verbose mode is selected, each suite and spec is detailed:
Running 38 specs.
A suite
nested in another
has a test that passes: passed
has a test that fails: failed
[...]
Failures:
1) A suite nested in another has a test that fails
1.1) Expected true to be false.
38 specs, 1 failure
Finished in 0.5 seconds
isVerbose
: see above.
includeStackTrace
: (Default: false) Displays the stack trace on failed tests
showColors
: (Default: true)
done
: Optional method to call when jasmine is done. First argument is true if all tests have passed
or are pending.
stackFilter
: Optional method called to format the stack trace. Receives a string as the first parameter and returns the formatted stack trace.
print
: Optionnal method used to display the output. By default, will write to process.stdout.
FAQs
A simple terminal reporter for Jasmine
We found that jasmine-terminal-reporter 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.