naxodev / oss

Open Source Software (OSS) projects by naxodev
https://naxo.dev
MIT License
19 stars 1 forks source link

Configure Vitest on templates to support Workerd #47

Closed NachoVazquez closed 3 months ago

NachoVazquez commented 5 months ago

Description

Recently, Cloudflare announced an improvement in integrating Vitest and Workerd for tests.

See the blog post here https://blog.cloudflare.com/workers-vitest-integration

We should have our test files configuration ready to use these improvements.

Motivation

Direct integration with Workerd is the best way to implement integration tests.

Suggested Implementation

Just change the configuration of the templates to support Workerd

Plus, implement a migration to support it.