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

Testing with Vite #14

Open
litewarp opened this issue Aug 17, 2022 · 1 comment
Open

Testing with Vite #14

litewarp opened this issue Aug 17, 2022 · 1 comment

Comments

@litewarp
Copy link

litewarp commented Aug 17, 2022

The official examples for miniflare use a miniflare test environment with jest. See here, e.g.

The environment is from the package jest-environment-miniflare. There are official instructions for jest, but I can't seem to get it working with vitest. Any ideas on how to use your plugin with vitest and this environment?

Thanks!

@Aslemammad
Copy link
Owner

@litewarp Thanks for submitting this!
This hasn't been implemented yet, but I'd like to do so! could you please let me know what the environment should be like and how'd you like to test vite-plugin-cloudflare in vitest? What is the expected result?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants