mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
test: optionally set common.PORT via env variable
This commit is contained in:
1 parent
17c6fe2e22
commit
17a812618d
1 file changed
+1
-1
+1
-1
@@ -26,7 +26,7 @@ exports.testDir = path.dirname(__filename);
|
||||
exports.fixturesDir = path.join(exports.testDir, 'fixtures');
|
||||
exports.libDir = path.join(exports.testDir, '../lib');
|
||||
exports.tmpDir = path.join(exports.testDir, 'tmp');
|
||||
exports.PORT = 12346;
|
||||
exports.PORT = +process.env.NODE_COMMON_PORT || 12346;
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
exports.PIPE = '\\\\.\\pipe\\libuv-test';
|
||||
|
||||
Reference in new issue
Block a user