Skip to content

Commit

Permalink
Merge pull request #195 from alburkerk2/master
Browse files Browse the repository at this point in the history
fix: declare resetHistory method in MockAdapter class
  • Loading branch information
ctimmerm committed Apr 27, 2019
2 parents 0e6f790 + 9064f2e commit d742b23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ declare class MockAdapter {

adapter(): AxiosAdapter;
reset(): void;
resetHistory(): void;
restore(): void;
history: { [method:string]:AxiosRequestConfig[]; };

history: { [method: string]: AxiosRequestConfig[] };

onGet: RequestMatcherFunc;
onPost: RequestMatcherFunc;
Expand Down

0 comments on commit d742b23

Please sign in to comment.