mirror of https://github.com/lukechilds/node.git
Ryan Dahl
15 years ago
37 changed files with 53 additions and 46 deletions
@ -0,0 +1,13 @@ |
|||
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]; |
|||
} |
|||
|
|||
|
Loading…
Reference in new issue