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

🚀 Update documentation for Vitest testing with Miniflare 3 #5044

Closed
extravio opened this issue Feb 16, 2024 · 4 comments
Closed

🚀 Update documentation for Vitest testing with Miniflare 3 #5044

extravio opened this issue Feb 16, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@extravio
Copy link

Describe the solution

Following the release of this feature Implement Vitest testing environment for Miniflare 3, could you please update the documentation:

and provide a working example of unit testing with Miniflare 3 and vitest?

@extravio extravio added the enhancement New feature or request label Feb 16, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Feb 16, 2024
@mrbbot
Copy link
Contributor

mrbbot commented Feb 17, 2024

Hey! 👋 Although that PR has now been merged, the @cloudflare/vitest-pool-workers package hasn't been released yet. We're currently ironing a few final issues and writing documentation, then we should be able to release version 0.1.0. 👍

@petebacondarwin petebacondarwin added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Feb 19, 2024
@petebacondarwin petebacondarwin moved this from Untriaged to In Progress in workers-sdk Feb 19, 2024
@vladinator1000
Copy link

Hi y'all, I recently ported my Miniflare 2 project to Miniflare 3. It has a useful integration test setup that works for database testing with Prisma. If anyone is into that, I distilled my learnings in this example: https://github.com/vladinator1000/prisma-vitest-miniflare

@admah
Copy link
Contributor

admah commented Feb 22, 2024

The documentation @mrbbot mentioned is being worked on here: cloudflare/cloudflare-docs#13092

@admah
Copy link
Contributor

admah commented Apr 11, 2024

I'm going to close this out as we have new documentation at: https://developers.cloudflare.com/workers/testing/vitest-integration/

@admah admah closed this as completed Apr 11, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in workers-sdk Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants