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

@@ -29,7 +29,7 @@ async_hooks.createHook({
if (testId === id) {
events.push({ type: 'destroy', id });
}
}
},
}).enable();
const resource = { foo: 'foo' };