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

Merged
merged 3 commits into from
Jul 18, 2024
Merged

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: 924fe85

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

@AdiRishi AdiRishi force-pushed the vitest-pool-workers branch from 2e9a697 to f10e4cb Compare March 15, 2024 09:34
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

@AdiRishi AdiRishi force-pushed the vitest-pool-workers branch from f10e4cb to ad71bdb Compare July 18, 2024 10:15
@AdiRishi AdiRishi marked this pull request as ready for review July 18, 2024 10:15
Copy link
Contributor

🌩 Deploying with Cloudflare Pages

Name Result
Last commit: ad71bdb
Status: ✅ Deploy successful!
Preview URL: https://8a5638de.cloudflare-turbo-cache-docs.pages.dev

@coveralls
Copy link

coveralls commented Jul 18, 2024

Pull Request Test Coverage Report for Build 9989921376

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.5%) to 96.04%

Totals Coverage Status
Change from base Build 9973695556: -0.5%
Covered Lines: 172
Relevant Lines: 179

💛 - Coveralls

Copy link
Contributor

🌩 Deploying with Cloudflare Pages

Name Result
Last commit: 8e7f982
Status: ✅ Deploy successful!
Preview URL: https://de3e85ce.cloudflare-turbo-cache-docs.pages.dev

Copy link
Contributor

🌩 Deploying with Cloudflare Pages

Name Result
Last commit: 924fe85
Status: ✅ Deploy successful!
Preview URL: https://d75f2ad7.cloudflare-turbo-cache-docs.pages.dev

@AdiRishi AdiRishi merged commit b3c2999 into master Jul 18, 2024
5 checks passed
@AdiRishi AdiRishi deleted the vitest-pool-workers branch July 18, 2024 10:33
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.

2 participants