diff --git a/src/transport/mock.ts b/src/transport/mock.ts index 6dcd34f..3d6dadf 100644 --- a/src/transport/mock.ts +++ b/src/transport/mock.ts @@ -9,6 +9,10 @@ export class MockTransport implements Transport { } } + reset():void { + this.responses = [] + } + addMock(response: string): void { const stringResponse = typeof response === "string" ? response : JSON.stringify(response)