From 127ed73f3c74d7901d39eab3f3a6ce38c92c9f3e Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 16 Oct 2016 20:40:39 -0700 Subject: [PATCH] test: remove unused common.libDir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/9124 Reviewed-By: James M Snell Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca Reviewed-By: Brian White --- test/README.md | 5 ----- test/common.js | 11 +++++------ 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/test/README.md b/test/README.md index c939f722e2..0971adac34 100644 --- a/test/README.md +++ b/test/README.md @@ -271,11 +271,6 @@ Platform check for Windows 32-bit on Windows 64-bit. Checks whether any globals are not on the `knownGlobals` list. -### libDir -* return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) - -Path to the 'lib' directory. - ### localhostIPv4 * return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) diff --git a/test/common.js b/test/common.js index 0bd435f0e2..d1d9c7876f 100644 --- a/test/common.js +++ b/test/common.js @@ -1,10 +1,10 @@ /* eslint-disable required-modules */ 'use strict'; -var path = require('path'); -var fs = require('fs'); -var assert = require('assert'); -var os = require('os'); -var child_process = require('child_process'); +const path = require('path'); +const fs = require('fs'); +const assert = require('assert'); +const os = require('os'); +const child_process = require('child_process'); const stream = require('stream'); const util = require('util'); const Timer = process.binding('timer_wrap').Timer; @@ -14,7 +14,6 @@ const testRoot = process.env.NODE_TEST_DIR ? exports.testDir = __dirname; exports.fixturesDir = path.join(exports.testDir, 'fixtures'); -exports.libDir = path.join(exports.testDir, '../lib'); exports.tmpDirName = 'tmp'; // PORT should match the definition in test/testpy/__init__.py. exports.PORT = +process.env.NODE_COMMON_PORT || 12346;