diff --git a/packages/server/__tests__/globalSetup.ts b/packages/server/__tests__/globalSetup.ts index 555249a35c2..46ee00b3191 100644 --- a/packages/server/__tests__/globalSetup.ts +++ b/packages/server/__tests__/globalSetup.ts @@ -5,7 +5,11 @@ import getKysely from '../postgres/getKysely' async function setup() { // The IP address is always localhost // so the safety checks will eventually fail if run too much - await sql`TRUNCATE TABLE "PasswordResetRequest"`.execute(getKysely()) + const pg = getKysely() + await sql` + TRUNCATE TABLE "PasswordResetRequest"; + ALTER TABLE "NewMeeting" DISABLE TRIGGER "check_meeting_overlap"; + `.execute(pg) } export default setup