Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
gulp-qunit-harness
Advanced tools
Gulp plugin for running qunit tests on a local machine and in the SauceLabs environment.
Gulp plugin for qunit-harness
$ npm install gulp-qunit-harness
var qunitHarness = require('gulp-qunit-harness');
var callbacks = require('./test/callbacks');
var CLIENT_TESTS_SETTINGS = {
basePath: './test/fixtures',
port: 2000,
crossDomainPort: 2001,
scripts: [
{ src: '/sources.js', path: './lib/index.js' },
{ src: '/before-test.js', path: './test/before-test.js' }
],
css: [ { src: 'style.css', path: './lib/style.css' } ],
configApp: require('./test/config-qunit-server-app'),
before: callbacks.before,
after: callbacks.after
};
var BROWSERS = [{
platform: 'Windows 10',
browserName: 'chrome'
}];
var SAUCELABS_SETTINGS = {
username: process.env.SAUCELABS_USERNAME,
accessKey: process.env.SAUCELABS_ACCESS_KEY,
build: process.env.TRAVIS_JOB_ID || '',
tags: [process.env.TRAVIS_BRANCH || 'master'],
browsers: BROWSERS,
name: 'qunit tests',
timeout: 300
};
gulp.task('tests', function () {
gulp
.src('./test/fixtures/**/*-test.js')
.pipe(qunitHarness(CLIENT_TESTS_SETTINGS));
});
gulp.task('tests-saucelabs', function () {
gulp
.src('./test/fixtures/**/*-test.js')
.pipe(qunitHarness(CLIENT_TESTS_SETTINGS, SAUCELABS_SETTINGS));
});
FAQs
Gulp plugin for running qunit tests on a local machine and in the SauceLabs environment.
The npm package gulp-qunit-harness receives a total of 117 weekly downloads. As such, gulp-qunit-harness popularity was classified as not popular.
We found that gulp-qunit-harness demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.