diff options
Diffstat (limited to 'test/common.js')
-rw-r--r-- | test/common.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/common.js b/test/common.js index 3e88c7c4b2..68369a9c44 100644 --- a/test/common.js +++ b/test/common.js @@ -1,14 +1,14 @@ -var path = require("path"); +var path = require('path'); exports.testDir = path.dirname(__filename); -exports.fixturesDir = path.join(exports.testDir, "fixtures"); -exports.libDir = path.join(exports.testDir, "../lib"); -exports.tmpDir = path.join(exports.testDir, "tmp"); +exports.fixturesDir = path.join(exports.testDir, 'fixtures'); +exports.libDir = path.join(exports.testDir, '../lib'); +exports.tmpDir = path.join(exports.testDir, 'tmp'); exports.PORT = 12346; exports.assert = require('assert'); -var util = require("util"); +var util = require('util'); for (var i in util) exports[i] = util[i]; //for (var i in exports) global[i] = exports[i]; @@ -18,7 +18,7 @@ function protoCtrChain (o) { return result.join(); } -exports.indirectInstanceOf = function (obj, cls) { +exports.indirectInstanceOf = function(obj, cls) { if (obj instanceof cls) { return true; } var clsChain = protoCtrChain(cls.prototype); var objChain = protoCtrChain(obj); |