Skip to content

Commit

Permalink
isolate application test
Browse files Browse the repository at this point in the history
  • Loading branch information
achorein committed Oct 14, 2024
1 parent 26ea23c commit 84d5d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/__tests__/application.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jest.mock("../brevo", () => ({
sendEmail: () => Promise.resolve(),
}));

beforeAll(dbConnect);
beforeAll(() => dbConnect(__filename.slice(__dirname.length + 1, -3)));
afterAll(dbClose);

describe("Application", () => {
Expand Down

0 comments on commit 84d5d83

Please sign in to comment.