-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
[Vitest Integration] Update guide to use Vitest 3 #20369
base: production
Are you sure you want to change the base?
Conversation
@@ -34,7 +34,7 @@ Using WebSockets with Durable Objects with the [`isolatedStorage`](/workers/test | |||
|
|||
When the `isolatedStorage` flag is enabled (the default), the test runner will undo any writes to the storage at the end of the test as detailed in the [isolation and concurrency documentation](/workers/testing/vitest-integration/isolation-and-concurrency/). However, Cloudflare recommends that you consider the following actions to avoid any common issues: | |||
|
|||
## Await all storage operations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These headings should be under Isolated storage
@@ -23,7 +23,7 @@ The `agents-sdk-starter` template and new Cloudflare Workers projects already in | |||
Before you write your first test, install the necessary packages: | |||
|
|||
```sh | |||
npm install [email protected] --save-dev --save-exact |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We currently support only 2.0.x - 3.0.x
. Using ~3.0.0
will restrict it to our supported version range.
Howdy and thanks for contributing to our repo. We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally. |
Summary
We have added Vitest 3 support last week. This updates the docs to install Vitest 3 instead of 2.
Close #19990
Screenshots (optional)
Documentation checklist