Socket
Socket
Sign inDemoInstall

@stryker-mutator/karma-runner

Package Overview
Dependencies
172
Maintainers
4
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @stryker-mutator/karma-runner

A plugin to use the karma test runner in Stryker, the JavaScript mutation testing framework


Version published
Weekly downloads
1.9K
decreased by-22.06%
Maintainers
4
Created
Weekly downloads
 

Changelog

Source

5.0.0 (2021-05-14)

Bug Fixes

  • sandbox: make directory if not exists before symlinking node_modules (#2856) (40f9a1d)
  • vue-tsx: support parsing tsx script in .vue file (#2850) (dc66c28)

Features

BREAKING CHANGES

  • range: The range property is no longer present on a mutant. Note, this is a breaking change for plugin creators only.
  • options: "perTest" is now the default value for "coverageAnalysis" when the configured test runner is not "command". Explicitly set "coverageAnalysis": "off" manually to opt-out of this behavior.
  • node: Node 10 is no longer supported. Please use Node 12 or higher.
  • serialize: Having a non-JSON-serializable value in your configuration won't be sent to the child process anymore. If you really need them in your test runner configuration, you should isolate those values and put them in test runner-specific config files, loaded by the test runner plugin itself, for example, jest.config.js, karma.conf.js, webpack.config.js.
  • ignore patterns: Stryker will no longer use a git command to determine which files belong to your project. Instead, it will rely on sane defaults. You can change this behavior by defining ignorePatterns.
  • ignore patterns: The files configuration option is deprecated and will be removed in a future release. Please use ignorePatterns instead.

This:

{
  "files": ["foo.js"]
}

Is equivalent to:

{
  "ignorePatterns": ["**", "!foo.js"]
}
  • reporter api: Changes to Reporter and TestRunner plugin API of Stryker
  • jest-runner: Support for project type create-react-app-ts is dropped from the jest-runner.

Readme

Source

Mutation testing badge Build Status NPM Node version Slack Chat

StrykerJS Karma Runner

A plugin to use the karma test runner (or @angular/cli's ng test) in StrykerJS, the JavaScript mutation testing framework

See the Karma Runner's documentation on stryker-mutator.io.

Keywords

FAQs

Last updated on 14 May 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc