Sha256: 8dedf57cbc896360ee4ee19b373786ab581a54ef1a1a3d86e9de84ee16c431ab

Contents?: true

Size: 677 Bytes

Versions: 43

Compression:

Stored size: 677 Bytes

Contents

var path = require('path'),
    fs = require('fs');

try {
  global.Gently = require('gently');
} catch (e) {
  throw new Error('this test suite requires node-gently');
}

exports.lib = path.join(__dirname, '../../lib');

global.GENTLY = new Gently();

global.assert = require('assert');
global.TEST_PORT = 13532;
global.TEST_FIXTURES = path.join(__dirname, '../fixture');
global.TEST_TMP = path.join(__dirname, '../tmp');

// Stupid new feature in node that complains about gently attaching too many
// listeners to process 'exit'. This is a workaround until I can think of a
// better way to deal with this.
if (process.setMaxListeners) {
  process.setMaxListeners(10000);
}

Version data entries

43 entries across 27 versions & 2 rubygems

Version Path
vulcan-0.8.2 server/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
vulcan-0.8.2 server/node_modules/connect-form/node_modules/formidable/test/legacy/common.js
vulcan-0.8.1 server/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
vulcan-0.8.1 server/node_modules/connect-form/node_modules/formidable/test/legacy/common.js
iron_worker_ng-0.10.1 iron_worker_examples/binary/phantom-nodejs/node_modules/phantom/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
vulcan-0.8.0 server/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
vulcan-0.8.0 server/node_modules/connect-form/node_modules/formidable/test/legacy/common.js
vulcan-0.7.2 server/node_modules/connect-form/node_modules/formidable/test/legacy/common.js
vulcan-0.7.2 server/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
vulcan-0.7.1 server/node_modules/connect-form/node_modules/formidable/test/legacy/common.js
vulcan-0.7.1 server/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
vulcan-0.7.0 server/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
vulcan-0.7.0 server/node_modules/connect-form/node_modules/formidable/test/legacy/common.js
vulcan-0.6.1 server/node_modules/connect-form/node_modules/formidable/test/legacy/common.js
vulcan-0.6.1 server/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
vulcan-0.6.0 server/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
vulcan-0.6.0 server/node_modules/connect-form/node_modules/formidable/test/legacy/common.js
vulcan-0.5.0 server/node_modules/connect-form/node_modules/formidable/test/legacy/common.js
vulcan-0.5.0 server/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
vulcan-0.4.0 server/node_modules/connect-form/node_modules/formidable/test/legacy/common.js