mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
give parseDate test more time (#278)
The time it takes parseDate to run depends on how many timezone names moment knows about.
This commit is contained in:
parent
8bc5c7d595
commit
bd9ede9d13
@ -331,6 +331,7 @@ describe('parseDate', function() {
|
||||
});
|
||||
|
||||
it('should handle datetimes as formatted by moment', function() {
|
||||
this.timeout(10000); // there may be a LOT of timezone names.
|
||||
for (const date of ['2020-02-03', '2020-06-07', '2020-10-11']) { // different months for daylight savings
|
||||
const dateTime = date + ' 12:34:56';
|
||||
const utcMoment = moment.tz(dateTime, 'UTC');
|
||||
|
Loading…
Reference in New Issue
Block a user