diff --git a/src/content/docs/workers/testing/vitest-integration/get-started/migrate-from-miniflare-2.mdx b/src/content/docs/workers/testing/vitest-integration/get-started/migrate-from-miniflare-2.mdx index 1402e1cefe2451..3d1e31e71e4e2e 100644 --- a/src/content/docs/workers/testing/vitest-integration/get-started/migrate-from-miniflare-2.mdx +++ b/src/content/docs/workers/testing/vitest-integration/get-started/migrate-from-miniflare-2.mdx @@ -30,7 +30,7 @@ First, you will need to uninstall the old environment and install the new pool. ```sh npm uninstall vitest-environment-miniflare -npm install --save-dev --save-exact vitest@1.5.0 +npm install --save-dev --save-exact vitest@2.0.5 npm install --save-dev @cloudflare/vitest-pool-workers ``` diff --git a/src/content/docs/workers/testing/vitest-integration/get-started/write-your-first-test.mdx b/src/content/docs/workers/testing/vitest-integration/get-started/write-your-first-test.mdx index 5a366f1dd6fad9..0c5f2b8360c172 100644 --- a/src/content/docs/workers/testing/vitest-integration/get-started/write-your-first-test.mdx +++ b/src/content/docs/workers/testing/vitest-integration/get-started/write-your-first-test.mdx @@ -24,7 +24,7 @@ This guide will instruct you through installing and setting up the `@cloudflare/ Open a terminal window and make sure you are in your project's root directory. Once you have confirmed that, run: ```sh -npm install vitest@1.5.0 --save-dev --save-exact +npm install vitest@2.0.5 --save-dev --save-exact npm install @cloudflare/vitest-pool-workers --save-dev ``` @@ -32,7 +32,7 @@ The above commands will add the packages to your `package.json` file and install :::note -Currently, the `@cloudflare/vitest-pool-workers` package _only_ works with Vitest 1.5.0. +Currently, the `@cloudflare/vitest-pool-workers` package _only_ works with Vitest 2.0.5. :::