karma-ietester-starter
v0.1.1
Published
Launcher for IETester
Downloads
8
Maintainers
Readme
karma-ietester-starter
Launcher for IETester.
Installation
The easiest way is to keep karma-ietester-starter
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-ietester-starter": "0.0.1"
}
}
You can simple do it by:
npm install karma-ietester-starter --save-dev
Configuration
// karma.conf.js
module.exports = function(config) {
config.set({
browsers: ['IETester'],
});
};
Or you can simple create a custom version of IETester:
// karma.conf.js
module.exports = function(config) {
config.set({
browsers: ['IETester', 'IETester7'],
// you can define custom flags
customLaunchers: {
IETester7: {
base: 'IETester',
flags: ['-ie7']
}
}
});
};
You can pass list of browsers as a CLI argument too:
karma start --browsers IETester,IETester7
For more information on Karma see the homepage.