@@ -302,7 +302,7 @@ class MockTracker {
302302 * @param {Function } [original] - The original function to be tracked.
303303 * @param {Function } [implementation] - An optional replacement function for the original one.
304304 * @param {object } [options] - Additional tracking options.
305- * @param {number } [options.times=Infinity ] - The maximum number of times the mock function can be called.
305+ * @param {number } [options.times] - The maximum number of times the mock function can be called.
306306 * @returns {ProxyConstructor } The mock function tracker.
307307 */
308308 fn (
@@ -334,9 +334,9 @@ class MockTracker {
334334 * @param {string } methodName - The name of the method to be tracked.
335335 * @param {Function } [implementation] - An optional replacement function for the original method.
336336 * @param {object } [options] - Additional tracking options.
337- * @param {boolean } [options.getter=false ] - Indicates whether this is a getter method.
338- * @param {boolean } [options.setter=false ] - Indicates whether this is a setter method.
339- * @param {number } [options.times=Infinity ] - The maximum number of times the mock method can be called.
337+ * @param {boolean } [options.getter] - Indicates whether this is a getter method.
338+ * @param {boolean } [options.setter] - Indicates whether this is a setter method.
339+ * @param {number } [options.times] - The maximum number of times the mock method can be called.
340340 * @returns {ProxyConstructor } The mock method tracker.
341341 */
342342 method (
@@ -425,9 +425,9 @@ class MockTracker {
425425 * @param {string } methodName - The name of the getter method to be mocked.
426426 * @param {Function } [implementation] - An optional replacement function for the targeted method.
427427 * @param {object } [options] - Additional tracking options.
428- * @param {boolean } [options.getter=true ] - Indicates whether this is a getter method.
429- * @param {boolean } [options.setter=false ] - Indicates whether this is a setter method.
430- * @param {number } [options.times=Infinity ] - The maximum number of times the mock method can be called.
428+ * @param {boolean } [options.getter] - Indicates whether this is a getter method.
429+ * @param {boolean } [options.setter] - Indicates whether this is a setter method.
430+ * @param {number } [options.times] - The maximum number of times the mock method can be called.
431431 * @returns {ProxyConstructor } The mock method tracker.
432432 */
433433 getter (
@@ -465,9 +465,9 @@ class MockTracker {
465465 * @param {string } methodName - The setter method to be mocked.
466466 * @param {Function } [implementation] - An optional replacement function for the targeted method.
467467 * @param {object } [options] - Additional tracking options.
468- * @param {boolean } [options.getter=false ] - Indicates whether this is a getter method.
469- * @param {boolean } [options.setter=true ] - Indicates whether this is a setter method.
470- * @param {number } [options.times=Infinity ] - The maximum number of times the mock method can be called.
468+ * @param {boolean } [options.getter] - Indicates whether this is a getter method.
469+ * @param {boolean } [options.setter] - Indicates whether this is a setter method.
470+ * @param {number } [options.times] - The maximum number of times the mock method can be called.
471471 * @returns {ProxyConstructor } The mock method tracker.
472472 */
473473 setter (
0 commit comments