jasmine-should-fail

Tests will fail if they pass and pass if they fail


Keywords
jasmine, fail
License
MIT
Install
npm install jasmine-should-fail@1.1.7

Documentation

Build Status Windows Build Status

jasmine-should-fail

This adds two methods to jasmine zdescribe and zit

These methods will fail if they pass and pass if they fail.

This will also add a shouldFail property to the specs that are supposed to fail so a reporter can still output the message when they pass.

This is really only useful when testing a reporter or matcher.