@@ -136,7 +136,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
136136 // This number should be as small as possible to minimize the amount of work
137137 // that needs to be done during a navigation.
138138 // Any change that increases this number should be investigated.
139- expect ( updates ) . toBe ( 10 )
139+ expect ( updates ) . toBe ( 12 )
140140 } )
141141
142142 test ( 'redirection in preload' , async ( ) => {
@@ -154,7 +154,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
154154 // This number should be as small as possible to minimize the amount of work
155155 // that needs to be done during a navigation.
156156 // Any change that increases this number should be investigated.
157- expect ( updates ) . toBe ( 4 )
157+ expect ( updates ) . toBe ( 5 )
158158 } )
159159
160160 test ( 'sync beforeLoad' , async ( ) => {
@@ -170,7 +170,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
170170 // This number should be as small as possible to minimize the amount of work
171171 // that needs to be done during a navigation.
172172 // Any change that increases this number should be investigated.
173- expect ( updates ) . toBe ( 9 )
173+ expect ( updates ) . toBe ( 10 )
174174 } )
175175
176176 test ( 'nothing' , async ( ) => {
@@ -181,8 +181,8 @@ describe("Store doesn't update *too many* times during navigation", () => {
181181 // This number should be as small as possible to minimize the amount of work
182182 // that needs to be done during a navigation.
183183 // Any change that increases this number should be investigated.
184- expect ( updates ) . toBeGreaterThanOrEqual ( 6 ) // WARN: this is flaky, and sometimes (rarely) is 7
185- expect ( updates ) . toBeLessThanOrEqual ( 7 )
184+ expect ( updates ) . toBeGreaterThanOrEqual ( 8 ) // WARN: this is flaky, and sometimes (rarely) is 9
185+ expect ( updates ) . toBeLessThanOrEqual ( 9 )
186186 } )
187187
188188 test ( 'not found in beforeLoad' , async ( ) => {
@@ -223,7 +223,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
223223 // This number should be as small as possible to minimize the amount of work
224224 // that needs to be done during a navigation.
225225 // Any change that increases this number should be investigated.
226- expect ( updates ) . toBe ( 16 )
226+ expect ( updates ) . toBe ( 19 )
227227 } )
228228
229229 test ( 'navigate, w/ preloaded & async loaders' , async ( ) => {
@@ -239,7 +239,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
239239 // This number should be as small as possible to minimize the amount of work
240240 // that needs to be done during a navigation.
241241 // Any change that increases this number should be investigated.
242- expect ( updates ) . toBe ( 7 )
242+ expect ( updates ) . toBe ( 9 )
243243 } )
244244
245245 test ( 'navigate, w/ preloaded & sync loaders' , async ( ) => {
@@ -255,7 +255,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
255255 // This number should be as small as possible to minimize the amount of work
256256 // that needs to be done during a navigation.
257257 // Any change that increases this number should be investigated.
258- expect ( updates ) . toBe ( 6 )
258+ expect ( updates ) . toBe ( 8 )
259259 } )
260260
261261 test ( 'navigate, w/ previous navigation & async loader' , async ( ) => {
@@ -271,7 +271,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
271271 // This number should be as small as possible to minimize the amount of work
272272 // that needs to be done during a navigation.
273273 // Any change that increases this number should be investigated.
274- expect ( updates ) . toBe ( 5 )
274+ expect ( updates ) . toBe ( 7 )
275275 } )
276276
277277 test ( 'preload a preloaded route w/ async loader' , async ( ) => {
@@ -289,6 +289,6 @@ describe("Store doesn't update *too many* times during navigation", () => {
289289 // This number should be as small as possible to minimize the amount of work
290290 // that needs to be done during a navigation.
291291 // Any change that increases this number should be investigated.
292- expect ( updates ) . toBe ( 1 )
292+ expect ( updates ) . toBe ( 2 )
293293 } )
294294} )
0 commit comments