to be same or after
- <moment> [not] to be same or after <moment|string|number|date|array|object>
Passes if the moment instance represents a time at or later than the specified time.
expect(moment(), 'to be same or after', moment().subtract(1, 'hour'));
It supports any value supported by moment#isAfter
When the assertion fails you'll get this output:
expect(moment('2015-02-03'), 'to be same or after', moment('2015-04-03'));
expected moment('2015-02-03T00:00:00.000+01:00')
to be same or after moment('2015-04-03T00:00:00.000+02:00')