Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

karma-jasmine-order-reporter

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-jasmine-order-reporter

Reports Jasmine order seed that was used to randomize specs in Karma Runner

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19K
decreased by-0.92%
Maintainers
1
Weekly downloads
 
Created
Source

karma-jasmine-order-reporter

Reports Jasmine order seed that was used to randomize specs in Karma Runner

npm version

Use this plugin to get information about Jasmine generated seed. It reports seed info twice:

  1. When Jasmine started:
JASMINE ORDER REPORTER: Started with seed 12345
  1. When Jasmine finished spec run:
JASMINE ORDER REPORTER: Done with seed 12345

This plugin can be useful in scenarios when you have flaky tests, that are failing only on specific seeds. Also it will report seed on Jasmine start regardless of Karma or browser crash while tests run.

Installation

$ npm install karma-jasmine-order-reporter --save-dev

or

$ yarn add karma-jasmine-order-reporter --dev

Usage

Update your karma.conf.js file as follows:

module.exports = function(config) {
  config.set({
    // code omitted for brevity
    plugins: [
      // other Karma Plugins
      'karma-jasmine-order-reporter' or `require('karma-jasmine-order-reporter')`
    ],
    reporters: [
      // other Karma Reporters
      'jasmine-order'
    ]
  });
};

License

MIT Licensed

Keywords

FAQs

Package last updated on 20 Jan 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc