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.
benderjs-jquery
Advanced tools
Creates tests for all versions of jQuery specified in bender.js
configuration file.
Appropriate version of jQuery will be downloaded from jQuery's CDN, cached and included in the test context.
npm install benderjs-jquery
Add benderjs-jquery
to the plugins
array in your bender.js
configuration file:
var config = {
applications: {...}
browsers: [...],
plugins: ['benderjs-jquery'], // load the plugin
tests: {...}
};
module.exports = config;
Specify jQuery versions:
var config = {
applications: {...}
browsers: [...],
jQueryDefault: '2.0.0' // override the default jQuery version
plugins: ['benderjs-jquery'],
tests: {
Foo: {
basePath: '',
jQuery: ['1.7.2', '1.10.2', '2.0.1'], //define jQuery versions
paths: [...]
}
}
};
module.exports = config;
Add jquery
to the test's tags:
// sample test file: tests/test.js
/* bender-tags: foo, bar, jquery */
bender.test({...});
If the test's group definition contains jQuery versions specified, as a result 3 tests will be created:
If there's no jQuery configuration for the test group, a default version of jQuery will be included in a test context.
You can configure some of the jQuery plugin options using bender.js
configuration file.
jQueryDefault
- jQuery's default version to be loaded in a test context. Default: 1.11.1
MIT, for license details see: LICENSE.md.
FAQs
jQuery plugin for Bender.js
The npm package benderjs-jquery receives a total of 42 weekly downloads. As such, benderjs-jquery popularity was classified as not popular.
We found that benderjs-jquery 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
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.