karma-jasmine-dom-matchers
Advanced tools
Weekly downloads
Readme
Karma plugin to inject Jasmine DOM Matchers for Jasmine.
npm install karma-jasmine-dom-matchers
TypeScript users should also install type definitions:
npm install @types/jasmine_dom_matchers
Just include 'jasmine-dom-matchers'
in the frameworks
and
'karma-jasmine-dom-matchers'
in the plugins section of your config
module.exports = function(config) {
config.set({
frameworks: [
'jasmine',
'jasmine-dom-matchers'
],
files: [
'src/**/*.js',
'src/**/*.spec.js'
],
// also you must add it as a plugin
plugins: [
'karma-jasmine',
'karma-jasmine-dom-matchers'
]
});
};
See jasmine_dom_matchers for available matchers and usage examples.
Plugin implementation is adapted from very similar plugin - karma-jasmine-matchers by Jamie Mason. Licensed under MIT.
FAQs
Karma plugin to inject Jasmine DOM Matchers for Jasmine.
The npm package karma-jasmine-dom-matchers receives a total of 637 weekly downloads. As such, karma-jasmine-dom-matchers popularity was classified as not popular.
We found that karma-jasmine-dom-matchers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.