0.1.1 • Published 10 years ago

jasmine-expect-moment v0.1.1

Weekly downloads
20
License
MIT
Repository
github
Last release
10 years ago

Jasmine Matchers for Moment.js

This repository adds some convenient custom matchers to the Jasmine testing framework. It extends the awesome collection of general purpose matchers Jasmine-Matchers by Jamie Mason.

Beware: This package has just been released with an incomplete set of matchers and without tests. It will be extended soon. Feel free to contribute!

Available Matchers

  • toBeMoment
  • toBeMomentAfter
  • toBeMomentBefore
  • toBeSameMoment
  • toHaveMoment
  • toHaveMomentAfter
  • toHaveMomentBefore