Files
2017-12-21 11:42:41 +01:00

11 lines
387 B
CoffeeScript

import { module, test } from 'qunit'
module 'Test helpers | Utility | freeze moment'
test 'freezeMoment', (assert) ->
freezeMoment '2016-12-21T14:22:00Z', ->
assert.equal moment().toISOString().substring(0, 19), '2016-12-21T14:22:00' # check if the specially for this case developed freezeMoment function
assert.notEqual moment().toISOString().substring(0, 10), '2016-12-21'