summaryrefslogtreecommitdiff
path: root/test/common/index.js
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2017-10-21 18:07:19 -0400
committerRefael Ackermann <refack@gmail.com>2017-10-26 18:38:34 -0400
commit2be9198097a19169026fb73e263165e6cbee7243 (patch)
treebdbae1570c2e1f8fb5f886f2e49aac1dc68e2e3e /test/common/index.js
parent748f5d848f229f646850401e644818bc5599ec9b (diff)
downloadandroid-node-v8-2be9198097a19169026fb73e263165e6cbee7243.tar.gz
android-node-v8-2be9198097a19169026fb73e263165e6cbee7243.tar.bz2
android-node-v8-2be9198097a19169026fb73e263165e6cbee7243.zip
test: change tmp directories prefix
`.tmp` prefix allows easier exclusion PR-URL: https://github.com/nodejs/node/pull/16372 Refs: https://github.com/nodejs/node/pull/16010 Refs: https://github.com/nodejs/node/issues/16278 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/common/index.js')
-rw-r--r--test/common/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/common/index.js b/test/common/index.js
index 8ccbc0e0df..76b86b6772 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -38,7 +38,9 @@ const noop = () => {};
exports.fixturesDir = fixturesDir;
-exports.tmpDirName = 'tmp';
+// Using a `.` prefixed name, which is the convention for "hidden" on POSIX,
+// gets tools to ignore it by default or by simple rules, especially eslint.
+exports.tmpDirName = '.tmp';
// PORT should match the definition in test/testpy/__init__.py.
exports.PORT = +process.env.NODE_COMMON_PORT || 12346;
exports.isWindows = process.platform === 'win32';