Skip to content

Commit

Permalink
Fix: update setupDb function
Browse files Browse the repository at this point in the history
  • Loading branch information
Villarley committed Dec 22, 2024
1 parent 05d5766 commit 15fe75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export const setupTestDB = async () => {
if (!testDataSource.isInitialized) {
await testDataSource.initialize();
}
await testDataSource.synchronize(true); // Sync
};

export const teardownTestDB = async () => {
if (testDataSource.isInitialized) {
await testDataSource.destroy();
Expand Down

0 comments on commit 15fe75e

Please sign in to comment.