karma-safaritechpreview-launcher
Version:
A Karma plugin. Launcher for Safari Technology Preview.
43 lines (32 loc) • 991 B
Markdown
A Karma plugin. Launcher for [Safari Technology Preview](https://developer.apple.com/safari/technology-preview/).
**Note, this plugin requires Node version 4.0 or higher.**
You can check your node version by typing `node --version`.
```bash
npm install karma-safaritechpreview-launcher --save-dev
```
```js
// karma.conf.js
module.exports = function(config) {
config.set({
browsers: ['SafariTechPreview'],
// optionally, if not using "detectBrowsers"
plugins: [
require('karma-safaritechpreview-launcher'),
]
});
};
```
Alternatively, as a CLI argument:
```bash
karma start --browsers SafariTechPreview
```
----
For more information on Karma see the [homepage].
[]: http://karma-runner.github.com
This package is based on the original
[](https://www.npmjs.com/package/karma-safari-launcher) by
[](https://www.npmjs.com/~vojtajina).