Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Workers] fix: update supported vitest version #18474

Merged
merged 5 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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@2.0.5
npm install --save-dev --save-exact vitest@2.1.8
npm install --save-dev @cloudflare/vitest-pool-workers
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ 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@2.1.8 --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.
Currently, the `@cloudflare/vitest-pool-workers` package _only_ works with Vitest 2.0.x - 2.1.x.
Cherry marked this conversation as resolved.
Show resolved Hide resolved
Cherry marked this conversation as resolved.
Show resolved Hide resolved
Cherry marked this conversation as resolved.
Show resolved Hide resolved
GregBrimble marked this conversation as resolved.
Show resolved Hide resolved

:::

Expand Down
Loading