docs: Fix minor typos (#5427)

This commit is contained in:
Reece Dunham 2024-04-02 04:49:26 -04:00 committed by GitHub
parent ffec1dc6af
commit d8a434a4cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
# assert
Vitest reexports `assert` method from [`chai`](https://www.chaijs.com/api/assert/) for verifying invariants.
Vitest reexports the `assert` method from [`chai`](https://www.chaijs.com/api/assert/) for verifying invariants.
## assert
@ -1699,7 +1699,7 @@ test('assert.increases', () => {
- **Type:** `<T>(modifier: Function, object: T, property: string, message?: string) => void`
Asserts that a `modifier` dose not increases a numeric `object`'s `property`.
Asserts that a `modifier` does not increases a numeric `object`'s `property`.
```ts
import { assert, test } from 'vitest'