1.0.1 • Published 1 year ago

@aleen42/karma-polyfill v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

karma-polyfill

Load patches for Jasmine, or polyfills like core-js/stable and @babel/polyfill, before running Karma tests.

Usage

  1. Install the plugin with npm:

    npm install @aleen42/karma-polyfill --save-dev
  2. Configure Karma to load the plugin as a framework:

    // karma.config.js 
    module.exports = config => {
        config.set({
            frameworks : [
                'polyfill',
                // ...
            ],
            plugins    : [
                '@aleen42/karma-polyfill',
                // ...
            ],
            // ...
        });
    };

Release History

  • ==================== 1.0.0 Initial release ====================
    • 1.0.1 shims for Karma and Jasmine under IE7 / IE8

:fuelpump: How to contribute

Have an idea? Found a bug? See How to contribute.

:scroll: License

MIT © aleen42


For more information on Karma see the homepage.