Skip to content

Commit e1d143f

Browse files
authored
fix: typo in mock.property value description
valueName -> propertyName
1 parent 1d02888 commit e1d143f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2330,7 +2330,7 @@ added: REPLACEME
23302330
* `object` {Object} The object whose value is being mocked.
23312331
* `propertyName` {string|symbol} The identifier of the property on `object` to mock.
23322332
* `value` {any} An optional value used as the mock value
2333-
for `object[valueName]`. **Default:** The original property value.
2333+
for `object[propertyName]`. **Default:** The original property value.
23342334
* Returns: {Proxy} A proxy to the mocked object. The mocked object contains a
23352335
special `mock` property, which is an instance of [`MockPropertyContext`][], and
23362336
can be used for inspecting and changing the behavior of the mocked property.

0 commit comments

Comments
 (0)