Skip to content

Commit 55c77bc

Browse files
committed
Add compat note in readme
1 parent 6762fef commit 55c77bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ supports Node.js and any browser-like runtime.
1919
## Contents
2020

2121
- [Usage](#usage)
22+
- [Compatibility](#compatibility)
2223
- [Package Installation](#package-installation)
2324
- [Setup for all tests](#to-setup-for-all-tests)
2425
- [Setup for an individual test](#to-setup-for-an-individual-test)
@@ -35,6 +36,11 @@ supports Node.js and any browser-like runtime.
3536

3637
## Usage
3738

39+
### Compatibility
40+
41+
The most recent version of vitest-fetch-mock supports vitest 2. If you are using vitest version 1.x, please install
42+
vitest-fetch-mock0.2.2.
43+
3844
### Package Installation
3945

4046
To setup your fetch mock you need to do the following things:

0 commit comments

Comments
 (0)