
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
broccoli-plugin-karma
Advanced tools
[Karma](http://karma-runner.github.io/) test runner for broccoli builds
Karma test runner for broccoli builds
npm install --save-dev broccoli-karma-plugin
// Brocfile.js
const broccoliKarma = require('broccoli-plugin-karma'),
runTests = broccoliKarma('inputTree/', {
files: ['**/*.js'] // Files paths are relative to input tree
autoWatch: true, // Use with broccoli serve, on by default
singleRun: false, // Use with broccoli build, off by default
// Here any karma options
});
module.exports = runTests;
To use plugin with broccoli serve you need option autoWatch: true (by default it is true).
Then on first build plugin will start karma server, and on rebuild file changes will be watched by karma.
There is no live reload server or script included.
You will need to author your own, or manually refresh the page on rebuilds to rerun your tests.
To use with broccoli build you need to set option singleRun: true.
With this option karma starts server, runs tests and exits (so-called continuous integration mode).
Plugin will wait until karma exits, and if some test will fail, task will return an error.
Public domain, see the LICENCE.md file.
FAQs
[Karma](http://karma-runner.github.io/) test runner for broccoli builds
The npm package broccoli-plugin-karma receives a total of 4 weekly downloads. As such, broccoli-plugin-karma popularity was classified as not popular.
We found that broccoli-plugin-karma 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.