File tree Expand file tree Collapse file tree
packages/data/src/components/use-select/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,10 +110,10 @@ describe( 'useSuspenseSelect', () => {
110110 render ( < App /> ) ;
111111 await screen . findByLabelText ( 'loaded' ) ;
112112
113- // Verify there were 3 attempts to render. Suspended twice because of
113+ // Verify there were 4 attempts to render. Suspended twice because of
114114 // `getToken` and `getData` selectors not being resolved, and then finally
115115 // rendered after all data got loaded.
116- expect ( attempts ) . toBe ( 3 ) ;
116+ expect ( attempts ) . toBe ( 4 ) ;
117117 expect ( renders ) . toBe ( 1 ) ;
118118 } ) ;
119119
@@ -230,7 +230,7 @@ describe( 'useSuspenseSelect', () => {
230230 expect ( slowLabel ) . toHaveTextContent ( 'slow' ) ;
231231
232232 // TODO: Understand what's going on here. This has to be reverted.
233- expect ( FastUI ) . toHaveBeenCalledTimes ( 3 ) ;
234- expect ( SlowUI ) . toHaveBeenCalledTimes ( 2 ) ;
233+ expect ( FastUI ) . toHaveBeenCalledTimes ( 4 ) ;
234+ expect ( SlowUI ) . toHaveBeenCalledTimes ( 3 ) ;
235235 } ) ;
236236} ) ;
You can’t perform that action at this time.
0 commit comments