Skip to content

Commit e476062

Browse files
authored
Merge pull request #358 from sushantdhiman/fix-tests
set TZ=0 so test works everywhere
2 parents 3dadcfb + a94f254 commit e476062

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module.exports.createConnection = function (args, callback) {
7676
typeCast: args && args.typeCast
7777
};
7878

79-
//console.log('cc params', params);
79+
// console.log('cc params', params);
8080
var conn = driver.createConnection(params);
8181

8282
/*

test/run.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ var options = {
77
if (process.env.FILTER) {
88
options.include = new RegExp(process.env.FILTER + '.*\\.js$');
99
}
10+
11+
// set timezone to UTC
12+
process.env.TZ = 'UTC';
13+
1014
require('urun')(__dirname, options);

0 commit comments

Comments
 (0)