Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 02ac8ba

Browse filesBrowse files
refackgibfahn
authored andcommitted
test: change tmp directories prefix
`.tmp` prefix allows easier exclusion PR-URL: #16372 Refs: #16010 Refs: #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>
1 parent e80d878 commit 02ac8ba
Copy full SHA for 02ac8ba

File tree

Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Open diff view settings
Collapse file

‎.eslintignore‎

Copy file name to clipboardExpand all lines: .eslintignore
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ lib/internal/v8_prof_polyfill.js
22
lib/punycode.js
33
test/addons/??_*
44
test/fixtures
5-
test/tmp*
65
tools/eslint
76
tools/icu
87
node_modules
Collapse file

‎test/common/index.js‎

Copy file name to clipboardExpand all lines: test/common/index.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ const noop = () => {};
3838

3939
exports.fixturesDir = fixturesDir;
4040

41-
exports.tmpDirName = 'tmp';
41+
// Using a `.` prefixed name, which is the convention for "hidden" on POSIX,
42+
// gets tools to ignore it by default or by simple rules, especially eslint.
43+
exports.tmpDirName = '.tmp';
4244
// PORT should match the definition in test/testpy/__init__.py.
4345
exports.PORT = +process.env.NODE_COMMON_PORT || 12346;
4446
exports.isWindows = process.platform === 'win32';

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.