GeezerVison is showing github.com — test: fix typos · nodejs/node@9ff71a6
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-abortsignal-cloneable.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -35,7 +35,7 @@ test('Can create a transferable abort controller', async () => { |
35 | 35 |
|
36 | 36 | mc.port2.postMessage(ac.signal, [ac.signal]); |
37 | 37 |
|
38 | | - // Can be cloned/transferd multiple times and they all still work |
| 38 | + // Can be cloned/transferred multiple times and they all still work |
39 | 39 | mc.port2.postMessage(ac.signal, [ac.signal]); |
40 | 40 |
|
41 | 41 | // Although we're using transfer semantics, the local AbortSignal |
|
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-abortsignal-drop-settled-signals.mjs +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -104,17 +104,17 @@ const limit = 10_000; |
104 | 104 |
|
105 | 105 | describe('when there is a long-lived signal', () => { |
106 | 106 | it('drops settled dependant signals', (t, done) => { |
107 | | - makeSubsequentCalls(limit, (signal, depandantSignalsKey) => { |
| 107 | + makeSubsequentCalls(limit, (signal, dependantSignalsKey) => { |
108 | 108 | setImmediate(() => { |
109 | | - t.assert.strictEqual(signal[depandantSignalsKey].size, 0); |
| 109 | + t.assert.strictEqual(signal[dependantSignalsKey].size, 0); |
110 | 110 | done(); |
111 | 111 | }); |
112 | 112 | }); |
113 | 113 | }); |
114 | 114 |
|
115 | 115 | 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); |
118 | 118 |
|
119 | 119 | done(); |
120 | 120 | }, true); |
|