diff --git a/test/stores/widgets/StopGapWidgetDriver-test.ts b/test/stores/widgets/StopGapWidgetDriver-test.ts index 082c04a9f41e..dccd203850bc 100644 --- a/test/stores/widgets/StopGapWidgetDriver-test.ts +++ b/test/stores/widgets/StopGapWidgetDriver-test.ts @@ -226,31 +226,5 @@ describe("StopGapWidgetDriver", () => { }, ); }); - - it('should ignore invalid direction', async () => { - client.relations.mockResolvedValue({ - originalEvent: new MatrixEvent(), - events: [], - }); - - await driver.readEventRelations( - '$event', - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - 'q' as any, - ); - - expect(client.relations).toBeCalledWith( - '!this-room-id', - '$event', - null, - null, - { direction: undefined }, - ); - }); }); });