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.

18 lines
386 B

  1. var path = require('path');
  2. var root = path.join(__dirname, '../');
  3. exports.dir = {
  4. root : root,
  5. lib : root + '/lib',
  6. fixture : root + '/test/fixture',
  7. tmp : root + '/test/tmp',
  8. };
  9. exports.port = 13532;
  10. exports.formidable = require('..');
  11. exports.assert = require('assert');
  12. exports.require = function(lib) {
  13. return require(exports.dir.lib + '/' + lib);
  14. };