@hirez_io/karma-jasmine-given

    1.1.0 • 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

    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.

    License

    MIT

    Install

    npm i @hirez_io/karma-jasmine-given

    DownloadsWeekly Downloads

    1,519

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    9.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • hirez.io