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

chore(tests): Migrate to vitest pool workers #333

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

AdiRishi
Copy link
Owner

Cloudflare has a pre-release going for the miniflare 3 setup for vitest.

Getting Started Template: https://github.com/mrbbot/vitest-pool-workers-prerelease-getting-started (you'll want to use the latest pre-release from cloudflare/workers-sdk#5070 (comment), expand Additional artifacts to see the @cloudflare/vitest-pool-workers package)
Examples: https://github.com/cloudflare/workers-sdk/tree/bcoll/vitest-pool-workers-examples/fixtures/vitest-pool-workers-examples
Docs: https://admah-vitest-pool-docs.cloudflare-docs-7ou.pages.dev/workers/testing/vitest-integration/get-started/

Copy link

changeset-bot bot commented Mar 15, 2024

⚠️ No Changeset found

Latest commit: f10e4cb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

🌩 Deploying with Cloudflare Pages

Name Result
Last commit: 7c3b0d7
Status: ✅ Deploy successful!
Preview URL: https://1d0669a7.cloudflare-turbo-cache-docs.pages.dev

@AdiRishi AdiRishi changed the title Move to vitest pool workers chore(tests): Move to vitest pool workers Mar 15, 2024
@AdiRishi AdiRishi changed the title chore(tests): Move to vitest pool workers chore(tests): Migrate to vitest pool workers Mar 15, 2024
Copy link
Contributor

🌩 Deploying with Cloudflare Pages

Name Result
Last commit: 873b4a8
Status: ✅ Deploy successful!
Preview URL: https://9ed957a5.cloudflare-turbo-cache-docs.pages.dev

Copy link
Contributor

🌩 Deploying with Cloudflare Pages

Name Result
Last commit: 88f3f9b
Status: ✅ Deploy successful!
Preview URL: https://b1d307d4.cloudflare-turbo-cache-docs.pages.dev

Copy link
Contributor

🌩 Deploying with Cloudflare Pages

Name Result
Last commit: 2e9a697
Status: ✅ Deploy successful!
Preview URL: https://1fa4da9b.cloudflare-turbo-cache-docs.pages.dev

Copy link
Contributor

🌩 Deploying with Cloudflare Pages

Name Result
Last commit: f10e4cb
Status: ✅ Deploy successful!
Preview URL: https://3ac80389.cloudflare-turbo-cache-docs.pages.dev

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8294115550

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.3%) to 99.487%

Totals Coverage Status
Change from base Build 8292293804: 1.3%
Covered Lines: 171
Relevant Lines: 172

💛 - Coveralls

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

Successfully merging this pull request may close these issues.

None yet

2 participants