Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
gulp-modular-karma
Advanced tools
Modular extension to run unit tests in a gulp-modular project.
npm install gulp-modular-karma
bower install angular-mocks
Copy default.karma.conf.js
in your project root and name it karma.conf.js
.
var gulp = require('gulp');
var gulpModularKarma = require('gulp-modular-karma');
// optionally overwrite default configuration
var config = {
//// task [`karma`] performs unit tests on project
karma: {
// src : './karma.conf.js', // karma configuration file to use
// browsers: ['PhantomJS', 'Firefox', 'Chrome'] // all browser to run tests in (only for `test:all`)
},
};
gulpModularKarma(gulp, config);
Run gulp karma
to execute the tests once.
Run gulp karma:watch
to execute the tests whenever a file changes.
Run gulp karma:all
to run the tests in all defined browers.
Run gulp test
, gulp test:watch
or gulp test:all
to build the project before the related karma
task is run.
FAQs
Boilerplate gulp tasks for unit testing with gulp-modular.
We found that gulp-modular-karma 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.