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 — Fix a string interpolation typo in ReactHooks test (#22174) · react/react@8723e77

File tree

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

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

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/__tests__/ReactHooks-test.internal.js
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,8 +1591,7 @@ describe('ReactHooks', () => {
15911591
}
15921592
});
15931593

1594-
it(`warns when more hooks (${(hookNameA,
1595-
hookNameB)}) are used during update than mount`, () => {
1594+
it(`warns when more hooks (${hookNameA}, ${hookNameB}) are used during update than mount`, () => {
15961595
function App(props) {
15971596
/* eslint-disable no-unused-vars */
15981597
if (props.update) {
@@ -1646,8 +1645,7 @@ describe('ReactHooks', () => {
16461645
.replace('use', '')
16471646
.replace('Helper', '');
16481647

1649-
it(`warns when fewer hooks (${(hookNameA,
1650-
hookNameB)}) are used during update than mount`, () => {
1648+
it(`warns when fewer hooks (${hookNameA}, ${hookNameB}) are used during update than mount`, () => {
16511649
function App(props) {
16521650
/* eslint-disable no-unused-vars */
16531651
if (props.update) {

0 commit comments

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