Skip to content

Commit

Permalink
Fixes #1246 by hardcoding timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup committed Sep 27, 2017
1 parent c1cd0a3 commit 27e340b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/types/string.js
Expand Up @@ -20,6 +20,9 @@ const it = lab.it;
const expect = Lab.expect;


process.env.TZ = 'utc'; // Needed for timezone sensitive tests


describe('string', () => {

it('should throw an exception if arguments were passed.', (done) => {
Expand Down

2 comments on commit 27e340b

@DavidTPate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find!

@Marsup
Copy link
Collaborator Author

@Marsup Marsup commented on 27e340b Sep 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DavidTPate All credits go to @kanongil :)

Please sign in to comment.