@hirez_io/karma-jasmine-given

1.1.2 • Public • Published

@hirez_io/karma jasmine-given

A karma plugin for loading @hirez_io/jasmine-given

npm version npm downloads Build and optionally publish lerna Code of Conduct License: MIT All Contributors

Installation

yarn add -D @hirez_io/karma-jasmine-given

or

npm install -D @hirez_io/karma-jasmine-given

This plugin was inspired by karma-jasmine-given) which loads the original "jasmine-given".

I rewrote it to save you the hassle of loading @hirez_io/jasmine-given's script files yourself. 😎

Configuration

Here's how to modify your karma.conf.js:

// karma.conf.js

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

    plugins: [
      require('karma-jasmine'),
      require('@hirez_io/karma-jasmine-given'), // <-- ADD THIS
      require('karma-chrome-launcher')
      // other plugins you might have...
    ],

    frameworks: [
      '@hirez_io/jasmine-given', // <-- ADD THIS
      'jasmine',
      // other frameworks...
    ],

    // ...

Want to contribute? Yayy! 🎉

Please read and follow our Contributing Guidelines to learn what are the right steps to take before contributing your time, effort and code.

Thanks 🙏

Code Of Conduct

Be kind to each other and please read our code of conduct.

Contributors

Thanks goes to these wonderful people (emoji key):


Shai Reznik

💻 📖 🤔 🚇 🚧 🧑‍🏫 👀 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    1,492
    • latest

Version History

Package Sidebar

Install

npm i @hirez_io/karma-jasmine-given

Weekly Downloads

1,656

Version

1.1.2

License

MIT

Unpacked Size

12.6 kB

Total Files

8

Last publish

Collaborators

  • hirez.io