Skip to content

Commit

Permalink
test: fix typos in test/parallel
Browse files Browse the repository at this point in the history
Fix typos in parallel tests.

PR-URL: #45583
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Erick Wendel <[email protected]>
Reviewed-By: Kohei Ueno <[email protected]>
  • Loading branch information
deokjinkim authored Nov 28, 2022
1 parent afed1af commit 58b60c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/parallel/test-event-capture-rejections.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-stream-writable-samecb-singletick.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 58b60c1

Please sign in to comment.