diff --git a/src/mock-manager.ts b/src/mock-manager.ts index 2d7acb5..9708c1d 100644 --- a/src/mock-manager.ts +++ b/src/mock-manager.ts @@ -44,7 +44,7 @@ export class MockManager { ); return this; } - this.provider.requestMocks[method].filter( + this.provider.requestMocks[method] = this.provider.requestMocks[method].filter( (mock) => mock !== currentUnconditionalPersistentMock ); }