Skip to content

Commit 6b8192a

Browse files
committed
update
1 parent c144d40 commit 6b8192a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/solid-router/tests/store-updates-during-navigation.test.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
137137
// that needs to be done during a navigation.
138138
// Any change that increases this number should be investigated.
139139
// Note: Solid has different update counts than React due to different reactivity
140-
expect(updates).toBe(11)
140+
expect(updates).toBe(10)
141141
})
142142

143143
test('redirection in preload', async () => {
@@ -173,7 +173,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
173173
// that needs to be done during a navigation.
174174
// Any change that increases this number should be investigated.
175175
// Note: Solid has different update counts than React due to different reactivity
176-
expect(updates).toBe(10)
176+
expect(updates).toBe(9)
177177
})
178178

179179
test('nothing', async () => {
@@ -242,7 +242,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
242242
// This number should be as small as possible to minimize the amount of work
243243
// that needs to be done during a navigation.
244244
// Any change that increases this number should be investigated.
245-
expect(updates).toBe(6)
245+
expect(updates).toBe(7)
246246
})
247247

248248
test('navigate, w/ preloaded & sync loaders', async () => {
@@ -259,7 +259,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
259259
// that needs to be done during a navigation.
260260
// Any change that increases this number should be investigated.
261261
// Note: Solid has one fewer update than React due to different reactivity
262-
expect(updates).toBe(5)
262+
expect(updates).toBe(6)
263263
})
264264

265265
test('navigate, w/ previous navigation & async loader', async () => {
@@ -275,7 +275,7 @@ describe("Store doesn't update *too many* times during navigation", () => {
275275
// This number should be as small as possible to minimize the amount of work
276276
// that needs to be done during a navigation.
277277
// Any change that increases this number should be investigated.
278-
expect(updates).toBe(4)
278+
expect(updates).toBe(5)
279279
})
280280

281281
test('preload a preloaded route w/ async loader', async () => {

0 commit comments

Comments
 (0)