1.0.0 • Published 6 years ago
karma-jasmine-extra-matchers v1.0.0
karma-jasmine-extra-matchers
A Karma plugin to inject jasmine-extra-matchers
Installation
npm install karma-jasmine-extra-matchers --save-dev
Usage
Include jasmine-extra-matchers
in the frameworks and karma-jasmine-extra-matchers
in the plugins section of your config
module.exports = function(config) {
config.set({
frameworks: [
'jasmine',
'jasmine-extra-matchers'
],
files: [
'src/**/*.js',
'src/**/*.spec.js'
],
// also you must add it as a plugin
plugins: [
'karma-jasmine',
'karma-jasmine-extra-matchers'
]
});
};
1.0.0
6 years ago