diff --git a/backend/tests/integration/api/rooms/delete-room.test.ts b/backend/tests/integration/api/rooms/delete-room.test.ts index 542f59d..eb8e32b 100644 --- a/backend/tests/integration/api/rooms/delete-room.test.ts +++ b/backend/tests/integration/api/rooms/delete-room.test.ts @@ -6,11 +6,9 @@ import { getRoom, deleteRoom, joinFakeParticipant, - disconnectFakeParticipants, - sleep + disconnectFakeParticipants } from '../../../utils/helpers.js'; import ms from 'ms'; -import { setupMultiRoomTestContext } from '../../../utils/test-scenarios.js'; import { expectValidRoom } from '../../../utils/assertion-helpers.js'; describe('Room API Tests', () => { @@ -18,9 +16,7 @@ describe('Room API Tests', () => { startTestServer(); }); - afterAll(async () => { - - }); + afterAll(async () => {}); afterEach(async () => { // Remove all rooms created @@ -133,8 +129,6 @@ describe('Room API Tests', () => { await disconnectFakeParticipants(); - await sleep('6s'); - const responseAfterDelete = await getRoom(roomId); expect(responseAfterDelete.status).toBe(404); });