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 — Remove Scheduler.log from ReactSuspenseFuzz-test (#28812) · react/react@bf09089

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/react-reconciler/src/__tests__
    • ReactSuspenseFuzz-test.internal.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-reconciler/src/__tests__/ReactSuspenseFuzz-test.internal.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/__tests__/ReactSuspenseFuzz-test.internal.js
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,24 +115,19 @@ describe('ReactSuspenseFuzz', () => {
115115
setTimeout(() => {
116116
cache.set(fullText, fullText);
117117
pendingTasks.delete(task);
118-
Scheduler.log(task.label);
119118
resolve();
120119
}, delay);
121120
},
122121
};
123122
cache.set(fullText, thenable);
124-
Scheduler.log(`Suspended! [${fullText}]`);
125123
throw thenable;
126124
} else if (typeof resolvedText.then === 'function') {
127-
const thenable = resolvedText;
128-
Scheduler.log(`Suspended! [${fullText}]`);
129-
throw thenable;
125+
throw resolvedText;
130126
}
131127
} else {
132128
resolvedText = fullText;
133129
}
134130

135-
Scheduler.log(resolvedText);
136131
return resolvedText;
137132
}
138133

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.