Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@bazel/jasmine
Advanced tools
The Jasmine rules run tests under the Jasmine framework with Bazel.
Add the @bazel/jasmine
npm package to your devDependencies
in package.json
.
USAGE
jasmine_node_test(name, srcs, data, deps, expected_exit_code, tags, config_file, use_direct_specs, jasmine, jasmine_entry_point, kwargs)
Runs tests in NodeJS using the Jasmine test runner.
Detailed XML test results are found in the standard bazel-testlogs
directory. This may be symlinked in your workspace.
See https://docs.bazel.build/versions/main/output_directories.html
To debug the test, see debugging notes in nodejs_test
.
PARAMETERS
Name of the resulting label
JavaScript source files containing Jasmine specs
Defaults to []
Runtime dependencies which will be loaded while the test executes
Defaults to []
Other targets which produce JavaScript, such as ts_library
Defaults to []
The expected exit code for the test.
Defaults to 0
Bazel tags applied to test
Defaults to []
(experimental) label of a file containing Jasmine JSON config.
Note that not all configuration options are honored, and we expect some strange feature interations. For example, the filter for which files are instrumented for code coverage doesn't understand the spec_files setting in the config.
See https://jasmine.github.io/setup/nodejs.html#configuration
Defaults to None
Limits the list of specs added to the execution (test suite) to direct sources.
Note that this is a bug fix opt-in flag, which will be the default behavior in the next major release.
More info: https://github.com/bazelbuild/rules_nodejs/pull/2576
Defaults to None
A label providing the @bazel/jasmine
npm dependency.
Defaults to "@npm//@bazel/jasmine"
A label providing the @bazel/jasmine
entry point.
Defaults to Label("@npm//@bazel/jasmine:jasmine_runner.js")
Remaining arguments are passed to the test rule
FAQs
Run Jasmine tests under Bazel
The npm package @bazel/jasmine receives a total of 17,854 weekly downloads. As such, @bazel/jasmine popularity was classified as popular.
We found that @bazel/jasmine demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.