Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 927 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 927 Bytes

karma-es5-shim

es5-shim for Karma (Temporal)

Motivation

While Karma Runner Project should have this one but it currently does not for some reason, so I made this for temporal use.

Installation

Install the module from npm:

$ npm install https://github.com/pokehanai/karma-es5-shim/archive/v2.1.0.tar.gz

Add es5-shim to the frameworks key after requirejs in your Karma configuration:

module.exports = function(karma) {
  karma.set({
    // frameworks to use
    frameworks: ['requirejs', 'es5-shim']
    // ...
  });
};