Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add more unit test

  • Loading branch information...
commit ead6f8c94f93e869852ae60800e0252b513ccddc 1 parent 60eb502
@longlho longlho authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  spec/tz.preload.spec.js
View
1  spec/tz.preload.spec.js
@@ -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);
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.