feat(seed): son 6 ayın örnek işlemleri ve 003 migration

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 03:23:30 +03:00
parent dcfa2f8c8d
commit 3acd71fd59
6 changed files with 530 additions and 5 deletions
+2
View File
@@ -31,6 +31,7 @@ describe("seed", () => {
});
expect(summary.created.categories).toBeGreaterThan(40);
expect(summary.created.accounts).toBe(7);
expect(summary.created.transactions).toBeGreaterThan(150);
expect(await getDb().collection("user").countDocuments()).toBe(SEED_USERS.length + 1);
expect(await HouseholdMemberModel.countDocuments()).toBe(memberCount);
});
@@ -43,6 +44,7 @@ describe("seed", () => {
memberships: 0,
categories: 0,
accounts: 0,
transactions: 0,
});
expect(await getDb().collection("user").countDocuments()).toBe(SEED_USERS.length + 1);
expect(await HouseholdModel.countDocuments()).toBe(SEED_HOUSEHOLDS.length);