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.
  • Loading branch information
deokjinkim committed Nov 22, 2022
1 parent b4c2004 commit ee6ed6c
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
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
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 ee6ed6c

Please sign in to comment.