Skip to content

Commit 5ae259f

Browse files
byapparovclaude
andcommitted
test(storage): expect one fewer migration error without todo files (#182)
After rebasing onto #195, the mixed-corruption fixture no longer writes a corrupt todo file that the migration reads, so the error floor drops from 6 to 5. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent f89f735 commit 5ae259f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/cli/test/storage/json-migration.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ describe("JSON to SQLite migration", () => {
729729
expect(stats.messages).toBe(1)
730730
expect(stats.parts).toBe(1)
731731
expect(stats.permissions).toBe(1)
732-
expect(stats.errors.length).toBeGreaterThanOrEqual(6)
732+
expect(stats.errors.length).toBeGreaterThanOrEqual(5)
733733

734734
const db = drizzle({ client: sqlite })
735735
expect(db.select().from(ProjectTable).all().length).toBe(2)

0 commit comments

Comments
 (0)