mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
@@ -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');
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user