summaryrefslogtreecommitdiff
path: root/test/parallel/test-event-on-async-iterator.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-event-on-async-iterator.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-event-on-async-iterator.js')
-rw-r--r--test/parallel/test-event-on-async-iterator.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-event-on-async-iterator.js b/test/parallel/test-event-on-async-iterator.js
index 9ad319136f..192326e12b 100644
--- a/test/parallel/test-event-on-async-iterator.js
+++ b/test/parallel/test-event-on-async-iterator.js
@@ -119,7 +119,7 @@ async function next() {
const results = await Promise.all([
iterable.next(),
iterable.next(),
- iterable.next()
+ iterable.next(),
]);
assert.deepStrictEqual(results, [{
@@ -149,7 +149,7 @@ async function nextError() {
const results = await Promise.allSettled([
iterable.next(),
iterable.next(),
- iterable.next()
+ iterable.next(),
]);
assert.deepStrictEqual(results, [{
status: 'rejected',
@@ -373,7 +373,7 @@ async function run() {
eventTargetAbortableOnBefore,
eventTargetAbortableOnAfter,
eventTargetAbortableOnAfter2,
- abortableOnAfterDone
+ abortableOnAfterDone,
];
for (const fn of funcs) {