give parseDate test more time (#278)

The time it takes parseDate to run depends on how many timezone
names moment knows about.
pull/279/head
Paul Fitzpatrick 2 years ago committed by GitHub
parent 8bc5c7d595
commit bd9ede9d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save