0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/test/common.js
2010-02-26 12:20:10 -08:00

17 lines
426 B
JavaScript

var path = require("path");
exports.testDir = path.dirname(__filename);
exports.fixturesDir = path.join(exports.testDir, "fixtures");
exports.libDir = path.join(exports.testDir, "../lib");
exports.PORT = 12346;
require.paths.unshift(exports.libDir);
var assert = require('assert');
var sys = require("sys");
process.mixin(exports, sys);
exports.assert = require('assert');
exports.fs = require("fs");
exports.path = path;