Skip to content

Commit

Permalink
docs: update features.md (#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
canyonwan committed Apr 6, 2022
1 parent cf226c5 commit c4d1151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ fn.mockImplementation(arg => arg)

fn('world', 2)

expect(fn.mock.returns[1]).toBe('world')
expect(fn.mock.results[1]).toBe('world')
```

Vitest supports both [happy-dom](https://github.com/capricorn86/happy-dom) or [jsdom](https://github.com/jsdom/jsdom) for mocking DOM and browser APIs. They don't come with Vitest, you might need to install them:
Expand Down

0 comments on commit c4d1151

Please sign in to comment.