Skip to content

Commit 022afa4

Browse files
committed
fix: close app instance after tests to prevent resource leaks
1 parent 892f290 commit 022afa4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/user.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,4 @@ describe('User API Endpoints', () => {
7474

7575
afterAll(async () => {
7676
await prisma.$disconnect();
77-
if (app) app.close();
7877
});

0 commit comments

Comments
 (0)