Skip to content

Commit 131e38f

Browse files
committed
test: seed db on test startup
1 parent 991e88c commit 131e38f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/fixtures.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export async function mochaGlobalSetup(): Promise<void> {
4242

4343
await initRedis();
4444
await initDatabase(true);
45+
await db.sync({ force: true });
4546
await initWebserver();
4647
await initKrist();
4748
}

0 commit comments

Comments
 (0)