@aleen42/karma-polyfill
v1.0.1
Published
Load polyfills like `core-js/stable`, and `@babel/polyfill` before running Karma tests
Downloads
41
Maintainers
Readme
karma-polyfill
Load patches for Jasmine, or polyfills like core-js/stable
and @babel/polyfill
, before running Karma tests.
Usage
Install the plugin with
npm
:npm install @aleen42/karma-polyfill --save-dev
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.