
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
gulp-jasmine
Advanced tools
Run Jasmine 2 tests in Node.js
Issues with the output should be reported on the Jasmine issue tracker.
$ npm install --save-dev gulp-jasmine
const gulp = require('gulp');
const jasmine = require('gulp-jasmine');
gulp.task('default', () =>
gulp.src('spec/test.js')
// gulp-jasmine works on filepaths so you can't have any plugins before it
.pipe(jasmine())
);
Type: boolean
Default: false
Display spec names in default reporter.
Type: boolean
Default: false
Include stack traces in failures in default reporter.
Type: Object Object[]
Reporters to use.
const gulp = require('gulp');
const jasmine = require('gulp-jasmine');
const reporters = require('jasmine-reporters');
gulp.task('default', () =>
gulp.src('spec/test.js')
.pipe(jasmine({
reporter: new reporters.JUnitXmlReporter()
}))
);
Type: number
Default 5000
Time to wait in milliseconds before a test automatically fails.
Type: boolean
Default: true
Stops the stream on failed tests.
Type: Object
Passes the config to Jasmine's loadConfig method.
Emitted after all tests have been completed. For a discussion about why jasmineDone and not end nor finish, see pull request #71.
Add require('babel-core/register'); to the top of your gulpfile.js. Make sure to read the Babel docs.
MIT © Sindre Sorhus
FAQs
Run Jasmine tests
The npm package gulp-jasmine receives a total of 7,055 weekly downloads. As such, gulp-jasmine popularity was classified as popular.
We found that gulp-jasmine demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.