From 4a6d71ad793e05ca207bc84f9300e6c3cc5949df Mon Sep 17 00:00:00 2001 From: ocavue Date: Mon, 18 Nov 2024 09:12:50 +1100 Subject: [PATCH] Relax version constraints for vitest --- .../get-started/write-your-first-test.mdx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 0c5f2b8360c172f..f692820075ceb72 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,18 +24,12 @@ 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@2.0.5 --save-dev --save-exact +npm install vitest --save-dev --save-exact npm install @cloudflare/vitest-pool-workers --save-dev ``` The above commands will add the packages to your `package.json` file and install them as dev dependencies. -:::note - -Currently, the `@cloudflare/vitest-pool-workers` package _only_ works with Vitest 2.0.5. - -::: - ## Define Vitest configuration If you do not already have a `vitest.config.js` or `vitest.config.ts` file, you will need to create one and define the following configuration.