Skip to content

Commit 1aa98fe

Browse files
ToriLindsaymaheshwarip
authored andcommitted
Updated Vitest version (#17022)
1 parent 658d557 commit 1aa98fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/content/docs/workers/testing/vitest-integration/get-started/migrate-from-miniflare-2.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ First, you will need to uninstall the old environment and install the new pool.
3030

3131
```sh
3232
npm uninstall vitest-environment-miniflare
33-
npm install --save-dev --save-exact vitest@1.5.0
33+
npm install --save-dev --save-exact vitest@2.0.5
3434
npm install --save-dev @cloudflare/vitest-pool-workers
3535
```
3636

src/content/docs/workers/testing/vitest-integration/get-started/write-your-first-test.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ This guide will instruct you through installing and setting up the `@cloudflare/
2424
Open a terminal window and make sure you are in your project's root directory. Once you have confirmed that, run:
2525

2626
```sh
27-
npm install vitest@1.5.0 --save-dev --save-exact
27+
npm install vitest@2.0.5 --save-dev --save-exact
2828
npm install @cloudflare/vitest-pool-workers --save-dev
2929
```
3030

3131
The above commands will add the packages to your `package.json` file and install them as dev dependencies.
3232

3333
:::note
3434

35-
Currently, the `@cloudflare/vitest-pool-workers` package _only_ works with Vitest 1.5.0.
35+
Currently, the `@cloudflare/vitest-pool-workers` package _only_ works with Vitest 2.0.5.
3636

3737
:::
3838

0 commit comments

Comments
 (0)