1.0.4 • Published 8 months ago

@hirez_io/karma-jasmine-single v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@hirez_io/karma jasmine-single

A karma plugin for loading @hirez_io/jasmine-single

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

Installation

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

or

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

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

I rewrote it to save you the hassle of loading @hirez_io/jasmine-single'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-single'), // <-- ADD THIS
      require('karma-chrome-launcher')
      // other plugins you might have...
    ],

    frameworks: [
      '@hirez_io/jasmine-single', // <-- 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):

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

License

MIT