test: fix typos in test/parallel

Fix typos in parallel tests.

PR-URL: https://github.com/nodejs/node/pull/45583
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
This commit is contained in:
Deokjin Kim
2022-11-28 11:37:17 +09:00
committed by GitHub
parent afed1afa55
commit 58b60c1393
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ function globalSetting() {
}
// We need to be able to configure this for streams, as we would
// like to call destro(err) there.
// like to call destroy(err) there.
function configurable() {
const ee = new EventEmitter({ captureRejections: true });
const _err = new Error('kaboom');

View File

@@ -15,7 +15,7 @@ const async_hooks = require('async_hooks');
const checkTickCreated = common.mustCall();
async_hooks.createHook({
init(id, type, triggerId, resoure) {
init(id, type, triggerId, resource) {
if (type === 'TickObject') checkTickCreated();
}
}).enable();