userzach
userzach
CDCloudflare Developers
Created by soundmanD on 11/19/2024 in #vitest-integration-beta
Hey folks, looking at getting into using
Beware though:
Warning This repository is for Miniflare 2, which is only receiving critical security updates. Miniflare 2 simulated the Workers runtime and the rest of the Cloudflare developer platform using Node.js. New versions of Miniflare can be found in the workers-sdk repository, and use the open-sourced Workers runtime workerd. This practically eliminates behaviour mismatches between development and production deployments. We recommend you migrate to Miniflare 3 now if you can. Whilst Miniflare 3 supports most of Miniflare 2's features, one key omission is the unit testing environment. We're actively working on adding support for this to Miniflare 3. Once this is supported, we're planning to deprecate Miniflare 2 and archive this repository.
13 replies
CDCloudflare Developers
Created by soundmanD on 11/19/2024 in #vitest-integration-beta
Hey folks, looking at getting into using
Do you think trying to test with Miniflare 2 would be worth it? I'm evaluating that now for myself.
13 replies
CDCloudflare Developers
Created by soundmanD on 11/19/2024 in #vitest-integration-beta
Hey folks, looking at getting into using
Agree. I did the same.
13 replies
CDCloudflare Developers
Created by soundmanD on 11/19/2024 in #vitest-integration-beta
Hey folks, looking at getting into using
wrangler applies the compatibility module transformations but vitest integration does not, suggesting different module resolution for the vitest integration
13 replies
CDCloudflare Developers
Created by soundmanD on 11/19/2024 in #vitest-integration-beta
Hey folks, looking at getting into using
Agree. I'm struggling with this too
13 replies