fix: format tests/helpers/db.ts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -42,9 +42,7 @@ export async function createTestDb() {
|
||||
|
||||
// Truncate all tables and reset sequences (fast reset, no PGlite restart)
|
||||
for (const t of TRUNCATE_TABLES) {
|
||||
await db.execute(
|
||||
sql.raw(`TRUNCATE TABLE "${t}" RESTART IDENTITY CASCADE`),
|
||||
);
|
||||
await db.execute(sql.raw(`TRUNCATE TABLE "${t}" RESTART IDENTITY CASCADE`));
|
||||
}
|
||||
|
||||
// Seed a test user
|
||||
|
||||
Reference in New Issue
Block a user