| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| 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 | |
| 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); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments