summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-access.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-03-26 08:51:08 -0700
committerRich Trott <rtrott@gmail.com>2021-04-01 23:14:29 -0700
commit330f25ef822dac6ed8a0afb3422bd920726eb43d (patch)
treebbf90ca3116946aba033d510364e0dbf209ae5b6 /test/parallel/test-fs-access.js
parentf0bf37317604061dc60ebf858d6ad4dfc313dcdc (diff)
downloadnode-new-330f25ef822dac6ed8a0afb3422bd920726eb43d.tar.gz
test: prepare for consistent comma-dangle lint rule
Make changes so that tests will pass when the comma-dangle settings applied to the rest of the code base are also applied to tests. PR-URL: https://github.com/nodejs/node/pull/37930 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Diffstat (limited to 'test/parallel/test-fs-access.js')
-rw-r--r--test/parallel/test-fs-access.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-fs-access.js b/test/parallel/test-fs-access.js
index cd4ac90d8f..9fa4dfcf1f 100644
--- a/test/parallel/test-fs-access.js
+++ b/test/parallel/test-fs-access.js
@@ -162,7 +162,7 @@ fs.accessSync(readWriteFile, mode);
1n,
{ [Symbol.toPrimitive]() { return fs.R_OK; } },
[1],
- 'r'
+ 'r',
].forEach((mode, i) => {
console.log(mode, i);
assert.throws(
@@ -186,7 +186,7 @@ fs.accessSync(readWriteFile, mode);
-1,
8,
Infinity,
- NaN
+ NaN,
].forEach((mode, i) => {
console.log(mode, i);
assert.throws(