JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 327
  • Score
    100M100P100Q82540F
  • License MIT

Add toEqualJson matcher to Jasmine 2.x

Package Exports

  • jasmine-should-fail

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jasmine-should-fail) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.