Skip to content

Commit 63f8b07

Browse files
authored
docs: fix typo (#6745)
1 parent d70b08b commit 63f8b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/vi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ console.log(cart.getApples()) // still 42!
435435
:::
436436

437437
::: tip
438-
It is not possible to spy on exported methonds in [Browser Mode](/guide/browser/). Instead, you can spy on every exported method by calling `vi.mock("./file-path.js", { spy: true })`. This will mock every export but keep its implementation intact, allowing you to assert if the method was called correctly.
438+
It is not possible to spy on exported methods in [Browser Mode](/guide/browser/). Instead, you can spy on every exported method by calling `vi.mock("./file-path.js", { spy: true })`. This will mock every export but keep its implementation intact, allowing you to assert if the method was called correctly.
439439

440440
```ts
441441
import { calculator } from './src/calculator.ts'

0 commit comments

Comments
 (0)