GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: fix typos · nodejs/node@9ff71a6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-abortsignal-cloneable.js
    • test-abortsignal-drop-settled-signals.mjs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-abortsignal-cloneable.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-abortsignal-cloneable.js
+1-1Lines 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
Collapse file

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

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 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 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.