Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Sep 1, 2024
1 parent 49eb9eb commit 6924965
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion test/test-async.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
** */
process.env.TZ = 'America/San_Francisco';

const moment = require('moment-timezone');
/* Setup moment timezone defaults */
moment.tz.link('Etc/Unknown|Etc/GMT');
moment.tz.setDefault('America/San_Francisco');

const assert = require('assert');
const vows = require('vows');
const _ = require('underscore');
const moment = require('moment-timezone');
const ical = require('../node-ical.js');

console.log('START Async Tests');
Expand Down
9 changes: 5 additions & 4 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
** */
process.env.TZ = 'America/San_Francisco';

const moment = require('moment-timezone');
/* Setup moment timezone defaults */
moment.tz.link('Etc/Unknown|Etc/GMT');
moment.tz.setDefault('America/San_Francisco');

const assert = require('assert');
const vows = require('vows');
const _ = require('underscore');
const moment = require('moment-timezone');
const ical = require('../node-ical.js');

/* Fix missing Etc/Unknown on Windows tests */
moment.tz.link('Etc/Unknown|Etc/GMT');

vows
.describe('node-ical')
.addBatch({
Expand Down

0 comments on commit 6924965

Please sign in to comment.