Permalink
Browse files

add more unit test

  • Loading branch information...
1 parent 60eb502 commit ead6f8c94f93e869852ae60800e0252b513ccddc @longlho longlho committed Feb 15, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/tz.preload.spec.js
View
@@ -18,5 +18,6 @@ describe('TimezoneJS', function () {
sampleTz = timezoneJS.timezone.getTzInfo(new Date(), 'Asia/Bangkok');
expect(sampleTz).toBeDefined();
expect(sampleTz.tzAbbr).toEqual('ICT');
+ expect(new timezoneJS.Date('America/New_York').getTimezoneOffset() > 0).toBe(true);
});
});

0 comments on commit ead6f8c

Please sign in to comment.