test: add trailing commas in test/node-api

PR-URL: https://github.com/nodejs/node/pull/46384
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Antoine du Hamel
2023-01-25 07:05:53 +01:00
parent ac66a99cf1
commit d640feee85
10 changed files with 26 additions and 27 deletions

View File

@@ -31,7 +31,7 @@ async_hooks.createHook({
after: common.mustCall((id) => {
assert.strictEqual(id, expectedId);
insideHook = false;
})
}),
}).enable();
runInCallbackScope(expectedResource, expectedResourceType, () => {