JSPM

karma-add-matchers

1.5.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q31023F
  • License MIT

A Karma adapter for the add-matchers library

Package Exports

  • karma-add-matchers

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (karma-add-matchers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

karma-add-matchers

A Karma adapter to inject add-matchers for Jasmine or Jest.

Installation

npm install karma-add-matchers --save-dev

Integration

Inside your karma.conf.js file, add:

module.exports = function(config) {
  config.set({

    // ...

    frameworks: [
      'add-matchers'
    ],
    plugins: [
      'karma-add-matchers'
    ]

    // ...
  })
}