mirror of
https://github.com/status-im/burnchart.git
synced 2025-02-10 09:26:20 +00:00
14 lines
350 B
JavaScript
14 lines
350 B
JavaScript
import { assert } from 'chai';
|
|
import moment from 'moment';
|
|
|
|
import json from './fixtures/milestones.json';
|
|
|
|
describe('milestones', () => {
|
|
it('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();
|
|
});
|
|
});
|