no fake requried

This commit is contained in:
Will Hunt 2024-12-23 17:15:33 +00:00
parent 7d27243505
commit eac0139fb3

View File

@ -118,7 +118,6 @@ describe('Inbound (Generic) Webhooks', () => {
});
it('should allow disabling hook data in matrix events.', async () => {
jest.useFakeTimers();
const user = testEnv.getUser('user');
const roomId = await user.createRoom({ name: 'My Test Webhooks room'});
const okMsg = user.waitForRoomEvent({ eventType: "m.room.message", sender: testEnv.botMxid, roomId });