https://github.com/25th-floor/jasmine-expect-moment
Jasmine matchers for moment.js
https://github.com/25th-floor/jasmine-expect-moment
Last synced: about 2 months ago
JSON representation
Jasmine matchers for moment.js
- Host: GitHub
- URL: https://github.com/25th-floor/jasmine-expect-moment
- Owner: 25th-floor
- License: mit
- Created: 2016-02-10T12:04:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-17T09:10:48.000Z (over 9 years ago)
- Last Synced: 2025-03-21T16:58:05.092Z (2 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jasmine Matchers for Moment.js
This repository adds some convenient custom matchers to the [Jasmine testing framework](http://jasmine.github.io/).
It extends the awesome collection of general purpose matchers [Jasmine-Matchers](http://github.com/JamieMason/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