mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
391 B
14 lines
391 B
15 years ago
|
exports.testDir = node.path.dirname(__filename);
|
||
|
exports.fixturesDir = node.path.join(exports.testDir, "fixtures");
|
||
|
exports.libDir = node.path.join(exports.testDir, "../../lib");
|
||
|
|
||
|
node.libraryPaths.unshift(exports.libDir);
|
||
|
|
||
|
var mjsunit = require("/mjsunit.js");
|
||
|
// Copy mjsunit namespace out
|
||
|
for (var prop in mjsunit) {
|
||
|
if (mjsunit.hasOwnProperty(prop)) exports[prop] = mjsunit[prop];
|
||
|
}
|
||
|
|
||
|
|