🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

hermione-passive-browsers

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hermione-passive-browsers

Plugin to run tests in passive browsers on request

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
51
-40%
Maintainers
1
Weekly downloads
 
Created
Source

hermione-passive-browsers Build Status

Plugin for hermione to run tests in passive browsers on request. Passive browsers are browsers in which tests do not run by default.

You can read more about hermione plugins here.

Installation

npm install hermione-passive-browsers

Usage

Configuration

Plugin has following configuration:

  • enabled (optional) Boolean – enable/disable the plugin; by default plugin is enabled
  • browsers (optional) String|RegExp|Array<String|RegExp> - browsers in which tests should not run by default

Also there is ability to override plugin parameters by CLI options or environment variables (see configparser). Use hermione_passive_browsers_ prefix for the environment variables and --hermione-passive-browsers- for the cli options.

Hermione usage

Add plugin to your hermione config file:

module.exports = {
    // ...
    system: {
        plugins: {
            'hermione-passive-browsers': {
                enabled: true,
                browsers: /ie/
            }
        }
    },
    //...
}

Testing

Run mocha tests:

npm run test-unit

Run eslint codestyle verification

npm run lint

Keywords

hermione

FAQs

Package last updated on 02 Jul 2018

Did you know?

Socket

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.

Install

Related posts