2009-11-01 02:02:30 +08:00
|
|
|
var path = require("path");
|
|
|
|
|
2010-03-09 07:06:29 +08:00
|
|
|
exports = module.exports = global;
|
|
|
|
|
2009-11-01 02:02:30 +08:00
|
|
|
exports.testDir = path.dirname(__filename);
|
|
|
|
exports.fixturesDir = path.join(exports.testDir, "fixtures");
|
2010-02-26 04:01:23 +08:00
|
|
|
exports.libDir = path.join(exports.testDir, "../lib");
|
2010-02-27 04:06:32 +08:00
|
|
|
exports.PORT = 12346;
|
2009-09-21 00:19:33 +08:00
|
|
|
|
2009-11-01 02:02:30 +08:00
|
|
|
var sys = require("sys");
|
2010-03-09 07:06:29 +08:00
|
|
|
for (var i in sys) exports[i] = sys[i];
|
|
|
|
exports.assert = require('assert');
|