Skip to content

Commit

Permalink
feat: fix persistent mock replacement (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
VGLoic authored Jan 8, 2022
1 parent 4e9859b commit 1190dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mock-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand Down

0 comments on commit 1190dd2

Please sign in to comment.