A Karma plugin. Launcher for Safari Technology Preview.
Note, this plugin requires Node version 4.0 or higher.
You can check your node version by typing node --version
.
npm install karma-safaritechpreview-launcher --save-dev
// 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:
karma start --browsers SafariTechPreview
For more information on Karma see the homepage.
This package is based on the original karma-safari-launcher by vojtajina.