Skip to content

Commit 916fc3d

Browse files
committed
test: keep update mock persisted hash order
1 parent 7bc73de commit 916fc3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cli/update-cli.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,9 @@ describe("update-cli", () => {
443443
return {
444444
path: snapshot.path,
445445
previousHash: snapshot.hash ?? null,
446-
persistedHash: snapshot.hash ?? null,
447446
snapshot,
448447
nextConfig,
448+
persistedHash: snapshot.hash ?? null,
449449
result: undefined,
450450
attempts: 1,
451451
afterWrite: { mode: "none", reason: "test" },
@@ -1189,9 +1189,9 @@ describe("update-cli", () => {
11891189
return {
11901190
path: newerSnapshot.path,
11911191
previousHash: newerSnapshot.hash,
1192-
persistedHash: newerSnapshot.hash,
11931192
snapshot: newerSnapshot,
11941193
nextConfig,
1194+
persistedHash: newerSnapshot.hash,
11951195
result: undefined,
11961196
attempts: 2,
11971197
afterWrite: { mode: "none", reason: "test" },

0 commit comments

Comments
 (0)