diff --git a/README.md b/README.md index 202fe9e..74a1ba7 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ jest.spyOn(someObject, 'aMethod'); reset both, history and behavior: ```js -stub.resetHistory(); +stub.reset(); ``` reset call history: