karma-safaritechpreview-launcher

2018-09-16 admin

karma-safaritechpreview-launcher是什么

什么是karma-safaritechpreview-launcher,A Karma plugin. Launcher for Safari Technology Preview.

karma-safaritechpreview-launcher使用教程帮助文档

karma-safaritechpreview-launcher

A Karma plugin. Launcher for Safari Technology Preview.

Installation

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

Configuration

// 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.

Attribution

This package is based on the original karma-safari-launcher by vojtajina.

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-40385.html

文章标题:karma-safaritechpreview-launcher

回到顶部