Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
karma-sauce-launcher
Advanced tools
Use any browser on SauceLabs!
The easiest way is to keep karma-sauce-launcher
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-sauce-launcher": "~0.1"
}
}
You can also add it by this command:
npm install karma-sauce-launcher --save-dev
// karma.conf.js
module.exports = function(config) {
config.set({
// global config for SauceLabs
sauceLabs: {
username: 'jamesbond',
accessKey: '007',
startConnect: false,
testName: 'my unit tests'
},
// define SL browsers
customLaunchers: {
sl_chrome_linux: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'linux'
}
},
browsers: ['sl_chrome_linux']
});
};
username
your SL username, you can also use SAUCE_USERNAME
env variable.accessKey
your SL access key, you can also use SAUCE_ACCESS_KEY
env variable.tunnelIdentifier
Sauce Connect can proxy multiple sessions, this is an id of a session.startConnect
do you wanna start Sauce Connect ? (defaults to true
)tags
an array of tags (will show up in SL web interface)testName
test name (will show up in SL web interface)build
build id (will show up in SL web interface)recordVideo
do you wanna record video of the session ? (defaults to false
)recordScreenshots
do you wanna take screenshots ? (defaults to true
)browserName
name of the browserversion
version of the browser (defaults to the latest available)platform
which platform ? (defaults to any)For an example project of, check out AngularJS.
For more information on Karma see the homepage.
FAQs
A Karma plugin. Launch any browser on SauceLabs!
The npm package karma-sauce-launcher receives a total of 17,986 weekly downloads. As such, karma-sauce-launcher popularity was classified as popular.
We found that karma-sauce-launcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.