mirror of
https://github.com/status-im/burnchart.git
synced 2026-08-31 09:31:16 +00:00
16 lines
394 B
JavaScript
16 lines
394 B
JavaScript
import { assert } from 'chai';
|
|
import moment from 'moment';
|
|
|
|
// import json from './fixtures/milestones.json';
|
|
|
|
// TODO expand on payload from GraphQL.
|
|
|
|
describe('projects', () => {
|
|
it('time format', done => {
|
|
// ISO 8601 dates are in UTC timezone.
|
|
const utc = moment(json[0].created_at).toDate().toUTCString();
|
|
assert(utc, 'Sun, 10 Apr 2011 20:09:31 GMT');
|
|
done();
|
|
});
|
|
});
|