0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/common.js

13 lines
351 B
JavaScript

var path = require("path");
exports = module.exports = global;
exports.testDir = path.dirname(__filename);
exports.fixturesDir = path.join(exports.testDir, "fixtures");
exports.libDir = path.join(exports.testDir, "../lib");
exports.PORT = 12346;
var sys = require("sys");
for (var i in sys) exports[i] = sys[i];
exports.assert = require('assert');