diff --git a/README.md b/README.md index 7ff8afc..10cd238 100644 --- a/README.md +++ b/README.md @@ -866,6 +866,15 @@ test('mocks a counting function', (t) => { }); ``` +### `mock.getter(object, methodName[, implementation][, options])` + + + +This function is syntax sugar for [`MockTracker.method`][] with `options.getter` +set to `true`. + ### `mock.method(object, methodName[, implementation][, options])` + +This function is syntax sugar for [`MockTracker.method`][] with `options.setter` +set to `true`. + ## Class: `TapStream`