[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

docs: fix mock state properties typo (#9933)

Co-authored-by: rohan436 <rohan.santhoshkumar@googlemail.com>

authored by

Rohan Santhosh Kumar
rohan436
and committed by
GitHub
(Mar 21, 2026, 12:39 PM +0900) fda89863 e78adcf9

+1 -1
+1 -1
docs/api/mock.md
··· 473 473 ``` 474 474 475 475 :::warning Objects are Stored by Reference 476 - Note that Vitest always stores objects by reference in all properies of the `mock` state. This means that if the properties were changed by your code, then some assertions like [`.toHaveBeenCalledWith`](/api/expect#tohavebeencalledwith) will not pass: 476 + Note that Vitest always stores objects by reference in all properties of the `mock` state. This means that if the properties were changed by your code, then some assertions like [`.toHaveBeenCalledWith`](/api/expect#tohavebeencalledwith) will not pass: 477 477 478 478 ```ts 479 479 const argument = {