Skip to content

Commit

Permalink
🍔fixed weird testing concurrency bug thing(kinda(notreally))
Browse files Browse the repository at this point in the history
  • Loading branch information
Plebbaroni committed Nov 13, 2024
1 parent c30e721 commit a401a3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/tests/login.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe("Tests", () => {
const { status, body } = await request(app).post("/auth/register").send({
username: "shinjisatoo",
password: "testpassword",
email: "longseason1996@gmail.com",
email: "longseason1997@gmail.com",
userType: "ATTENDEE",
});

Expand Down
2 changes: 1 addition & 1 deletion backend/tests/register.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe("Tests", () => {
const { status, body } = await request(app).post("/auth/register").send({
username: "shinjisatoo",
password: "testpassword",
email: "longseason1996@gmail.com",
email: "longseason1997@gmail.com",
userType: "ATTENDEE",
});

Expand Down
1 change: 1 addition & 0 deletions backend/vitest.config.integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default defineConfig({
poolOptions: {
threads: {
maxThreads: 1,
singleThread: true
}
},
setupFiles: ['./tests/helpers/setup.ts']
Expand Down

0 comments on commit a401a3f

Please sign in to comment.