Skip to content

Commit 127ed73

Browse files
TrottMyles Borins
authored and
Myles Borins
committed
test: remove unused common.libDir
PR-URL: #9124 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Brian White <[email protected]>
1 parent bdd91e0 commit 127ed73

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

test/README.md

-5
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,6 @@ Platform check for Windows 32-bit on Windows 64-bit.
271271

272272
Checks whether any globals are not on the `knownGlobals` list.
273273

274-
### libDir
275-
* return [&lt;String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type)
276-
277-
Path to the 'lib' directory.
278-
279274
### localhostIPv4
280275
* return [&lt;String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type)
281276

test/common.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/* eslint-disable required-modules */
22
'use strict';
3-
var path = require('path');
4-
var fs = require('fs');
5-
var assert = require('assert');
6-
var os = require('os');
7-
var child_process = require('child_process');
3+
const path = require('path');
4+
const fs = require('fs');
5+
const assert = require('assert');
6+
const os = require('os');
7+
const child_process = require('child_process');
88
const stream = require('stream');
99
const util = require('util');
1010
const Timer = process.binding('timer_wrap').Timer;
@@ -14,7 +14,6 @@ const testRoot = process.env.NODE_TEST_DIR ?
1414

1515
exports.testDir = __dirname;
1616
exports.fixturesDir = path.join(exports.testDir, 'fixtures');
17-
exports.libDir = path.join(exports.testDir, '../lib');
1817
exports.tmpDirName = 'tmp';
1918
// PORT should match the definition in test/testpy/__init__.py.
2019
exports.PORT = +process.env.NODE_COMMON_PORT || 12346;

0 commit comments

Comments
 (0)