Skip to content

Commit 9ff71a6

Browse files
wlgh1553targos
authored andcommitted
test: fix typos
PR-URL: #59330 Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
1 parent eb8b193 commit 9ff71a6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/parallel/test-abortsignal-cloneable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ test('Can create a transferable abort controller', async () => {
3535

3636
mc.port2.postMessage(ac.signal, [ac.signal]);
3737

38-
// Can be cloned/transferd multiple times and they all still work
38+
// Can be cloned/transferred multiple times and they all still work
3939
mc.port2.postMessage(ac.signal, [ac.signal]);
4040

4141
// Although we're using transfer semantics, the local AbortSignal

test/parallel/test-abortsignal-drop-settled-signals.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,17 @@ const limit = 10_000;
104104

105105
describe('when there is a long-lived signal', () => {
106106
it('drops settled dependant signals', (t, done) => {
107-
makeSubsequentCalls(limit, (signal, depandantSignalsKey) => {
107+
makeSubsequentCalls(limit, (signal, dependantSignalsKey) => {
108108
setImmediate(() => {
109-
t.assert.strictEqual(signal[depandantSignalsKey].size, 0);
109+
t.assert.strictEqual(signal[dependantSignalsKey].size, 0);
110110
done();
111111
});
112112
});
113113
});
114114

115115
it('keeps all active dependant signals', (t, done) => {
116-
makeSubsequentCalls(limit, (signal, depandantSignalsKey) => {
117-
t.assert.strictEqual(signal[depandantSignalsKey].size, limit);
116+
makeSubsequentCalls(limit, (signal, dependantSignalsKey) => {
117+
t.assert.strictEqual(signal[dependantSignalsKey].size, limit);
118118

119119
done();
120120
}, true);

0 commit comments

Comments
 (0)