summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/common/README.md5
-rw-r--r--test/common/index.js1
-rw-r--r--test/doctool/test-make-doc.js2
3 files changed, 1 insertions, 7 deletions
diff --git a/test/common/README.md b/test/common/README.md
index b87976f124..39b368ae20 100644
--- a/test/common/README.md
+++ b/test/common/README.md
@@ -340,11 +340,6 @@ original state after calling [`common.hijackStdOut()`][].
Path to the 'root' directory. either `/` or `c:\\` (windows)
-### projectDir
-* [<String>]
-
-Path to the project directory.
-
### skip(msg)
* `msg` [<String>]
diff --git a/test/common/index.js b/test/common/index.js
index 57a09cf69f..b67b2f7b71 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -69,7 +69,6 @@ exports.enoughTestCpu = Array.isArray(cpus) &&
(cpus.length > 1 || cpus[0].speed > 999);
exports.rootDir = exports.isWindows ? 'c:\\' : '/';
-exports.projectDir = path.resolve(__dirname, '..', '..');
exports.buildType = process.config.target_defaults.default_configuration;
diff --git a/test/doctool/test-make-doc.js b/test/doctool/test-make-doc.js
index ad372d7121..74845b2444 100644
--- a/test/doctool/test-make-doc.js
+++ b/test/doctool/test-make-doc.js
@@ -11,7 +11,7 @@ const assert = require('assert');
const fs = require('fs');
const path = require('path');
-const apiPath = path.resolve(common.projectDir, 'out', 'doc', 'api');
+const apiPath = path.resolve(__dirname, '..', '..', 'out', 'doc', 'api');
const docs = fs.readdirSync(apiPath);
assert.ok(docs.includes('_toc.html'));