mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
15 lines
413 B
JavaScript
15 lines
413 B
JavaScript
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");
|
|
include("/utils.js");
|
|
// Copy mjsunit namespace out
|
|
for (var prop in mjsunit) {
|
|
if (mjsunit.hasOwnProperty(prop)) exports[prop] = mjsunit[prop];
|
|
}
|
|
|
|
|