Skip to content

Commit 7dbc742

Browse files
deokjinkimdanielleadams
authored andcommitted
test: fix typos in test/parallel
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]>
1 parent a56560f commit 7dbc742

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parallel/test-event-capture-rejections.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function globalSetting() {
107107
}
108108

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

test/parallel/test-stream-writable-samecb-singletick.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const async_hooks = require('async_hooks');
1515
const checkTickCreated = common.mustCall();
1616

1717
async_hooks.createHook({
18-
init(id, type, triggerId, resoure) {
18+
init(id, type, triggerId, resource) {
1919
if (type === 'TickObject') checkTickCreated();
2020
}
2121
}).enable();

0 commit comments

Comments
 (0)