Skip to content
Merged
Prev Previous commit
Next Next commit
fix: lint
  • Loading branch information
idango10 committed May 23, 2025
commit 691f4d5e86794ed4014f84fd06895d5d22b9e637
3 changes: 2 additions & 1 deletion doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -2250,7 +2250,8 @@ added: REPLACEME
* `valueName` {string|symbol} The identifier of the value on object to mock.
Comment thread
cjihrig marked this conversation as resolved.
Outdated
* `value` {any} A value used as the mock value for `object[valueName]`.
Comment thread
cjihrig marked this conversation as resolved.
Outdated

Creates a mock for a property value on an object. This allows you to track and control access to a specific property, including how many times it is read (getter) or written (setter), and to restore the original value after mocking.
Creates a mock for a property value on an object. This allows you to track and control access to a specific property,
including how many times it is read (getter) or written (setter), and to restore the original value after mocking.

```js
test('mocks a property value', (t) => {
Expand Down
Loading