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 <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>
  • Loading branch information
deokjinkim authored and danielleadams committed Jan 3, 2023
1 parent a56560f commit 7dbc742
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 7dbc742

Please sign in to comment.