karma-skipped-tests-reporter
v1.0.4
Published
Karma plugin to fail if any tests are skipped
Downloads
642
Readme
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']),
})