
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.
jasmine-runner-node
Advanced tools
In your project root, run: npm install jasmine-runner-node --save-dev
var jasmine = require('jasmine-runner-node');
// start server
jasmine.start({
root: <dir>, // project root (default: client module root)
updateInterval: <ms>, // how often to check for file changes (default: 1000)
port: <num>, // port number to serve jasmine on (default: 8888)
files: { // (in order of spec runner inclusion)
css: <file glob or glob list>,
specHelper: <file glob or glob list>,
js: <file glob or glob list>,
spec: <file glob or glob list>,
other: <file glob or glob list>
}
});
// stop server
jasmine.stop()
// start server, run phantom, stop server
// (also takes all of the above, except updateInterval)
jasmine.run({
showColors: <bool>, // colorize phantomjs output (default: true)
testOutput: <stream>, // stream for test report output (default: stdout)
phantomOutput: <stream>, // stream for phantom output (default: stderr)
});
Run npm test :)
The jasmine-core node module must be pulled in as a dependency of
jasmine-runner-node and not of any parent module, as it expects jasmine-core
to be present in jasmine-runner-node/node_modules. This means that
jasmine-core should not be a direct dependency of any node package that
depends on jasmine-runner-node.
(more docs coming soon)
FAQs
Run Jasmine 2 specs using PhantomJS
We found that jasmine-runner-node 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.