1.0.4 • Published 5 years ago

karma-skipped-tests-reporter v1.0.4

Weekly downloads
275
License
MIT
Repository
github
Last release
5 years ago

Karma plugin to fail if any tests are skipped

Fails a Karma test run if any tests were skipped and it was a single run. E.g. Using fit(), xit(), fdescribe() or xdescribe() in Jasmine.

Inspired by Karma Jasmine issue #225.

Installation

yarn add karma-skipped-tests-reporter

Add 'skipped-tests' to the reporters array in karma.conf.js:

config.set({
    reporters: config.reporters.concat(['skipped-tests']),
})