milestones test
This commit is contained in:
parent
557d08c6e7
commit
3ee5999bc4
|
@ -0,0 +1,13 @@
|
|||
import { assert } from 'chai';
|
||||
import moment from 'moment';
|
||||
|
||||
import json from './fixtures/milestones.json';
|
||||
|
||||
export default {
|
||||
'milestones - time format': (done) => {
|
||||
// ISO 8601 dates are in UTC timezone.
|
||||
let utc = moment(json[0].created_at).toDate().toUTCString();
|
||||
assert(utc, 'Sun, 10 Apr 2011 20:09:31 GMT');
|
||||
done();
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue