2009-10-31 19:02:30 +01:00
|
|
|
var path = require("path");
|
|
|
|
|
|
|
|
exports.testDir = path.dirname(__filename);
|
|
|
|
exports.fixturesDir = path.join(exports.testDir, "fixtures");
|
|
|
|
exports.libDir = path.join(exports.testDir, "../../lib");
|
2009-09-20 18:19:33 +02:00
|
|
|
|
2009-10-25 22:51:10 +01:00
|
|
|
require.paths.unshift(exports.libDir);
|
2009-09-20 18:19:33 +02:00
|
|
|
|
2009-11-28 18:26:59 +01:00
|
|
|
var assert = require('assert');
|
2009-10-31 19:02:30 +01:00
|
|
|
var sys = require("sys");
|
|
|
|
|
2009-11-28 18:26:59 +01:00
|
|
|
process.mixin(exports, sys);
|
|
|
|
exports.assert = require('assert');
|
2009-10-31 19:02:30 +01:00
|
|
|
exports.posix = require("posix");
|
|
|
|
exports.path = path;
|