-
Notifications
You must be signed in to change notification settings - Fork 925
refactor: run C3 e2e tests more easily locally and individually #9533
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
Merged
petebacondarwin
merged 12 commits into
main
from
pbd/c3/run-framework-tests-individually
Jul 1, 2025
Merged
refactor: run C3 e2e tests more easily locally and individually #9533
petebacondarwin
merged 12 commits into
main
from
pbd/c3/run-framework-tests-individually
Jul 1, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
petebacondarwin
commented
Jun 9, 2025
- Tests
- TODO (before merge)
- Tests included
- Tests not necessary because:
- Wrangler / Vite E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)
- I don't know
- Required
- Not required because: c3
- Public documentation
- TODO (before merge)
- Cloudflare docs PR(s):
- Documentation not necessary because: test refactor
- Wrangler V3 Backport
- TODO (before merge)
- Wrangler PR:
- Not necessary because: c3
🦋 Changeset detectedLatest commit: 0120f91 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
db46bd5
to
40e912b
Compare
a339f66
to
bfb1c7d
Compare
974386e
to
ff0ffe8
Compare
ff0ffe8
to
5906137
Compare
5906137
to
60a83c3
Compare
…orrectly to be imported in workerd during Vitest runs Prior to this the inline snapshot tests were failing because they use the `magic-string` library, which in turn relies upon the `sourcemap-codec` library. This resulted in errors that look like: ``` Error running worker: SyntaxError: The requested module '@jridgewell/sourcemap-codec' does not provide an export named 'encode' ```
6addf28
to
5179b4b
Compare
5179b4b
to
a4814bc
Compare
penalosa
approved these changes
Jun 30, 2025
6 tasks
98a6140
to
28ddab3
Compare
28ddab3
to
a75de0f
Compare
ec768d9
to
62d0d31
Compare
Merged
penalosa
pushed a commit
that referenced
this pull request
Jul 1, 2025
* fix: ensure that the `sourcemap-codec` library has been transformed correctly to be imported in workerd during Vitest runs Prior to this the inline snapshot tests were failing because they use the `magic-string` library, which in turn relies upon the `sourcemap-codec` library. This resulted in errors that look like: ``` Error running worker: SyntaxError: The requested module '@jridgewell/sourcemap-codec' does not provide an export named 'encode' ``` * refactor: run C3 e2e tests more easily locally and individually * fixup! refactor: run C3 e2e tests more easily locally and individually * move to-exist helper back to setup file * rename the filtering env vars * fixup! refactor: run C3 e2e tests more easily locally and individually * fix c3 e2e ci groups * remove unnecessary step * skip gatsby on yarn * Run windows tests in a normal directory * skip Workers tests on Windows * match the previous test descriptions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.