File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/react-reconciler/src/__tests__ Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments