feat(seed): örnek aile kullanıcıları, haneler ve roller (idempotent)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 02:14:10 +03:00
parent 38e2a7a26d
commit 2b648975ae
7 changed files with 369 additions and 53 deletions
+4 -1
View File
@@ -23,7 +23,7 @@ export default defineConfig({
},
test: {
environment: "node",
include: ["src/**/*.int.test.ts"],
include: ["src/**/*.int.test.ts", "scripts/**/*.int.test.ts"],
fileParallelism: false,
testTimeout: 20_000,
hookTimeout: 30_000,
@@ -32,6 +32,9 @@ export default defineConfig({
MONGODB_URI: baseUri,
BETTER_AUTH_SECRET: "test-secret-test-secret-test-secret-0123",
BETTER_AUTH_URL: "http://localhost:3000",
SEED_ADMIN_EMAIL: "admin@test.local",
SEED_ADMIN_PASSWORD: "Test-Admin-12345",
SEED_USER_PASSWORD: "Test-User-12345",
},
},
});