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

fix(test runner): do not use @babel/plugin-transform-dynamic-import #31285

Merged

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Jun 13, 2024

Historically, this plugin was important to translate dynamic imports into require calls so that we can intercept them and transpile.

This is not needed anymore with ESM loader enabled by default, so we can avoid this transformation and support dynamic imports of ESM-only packages/files.

Fixes #17075, fixes #23255, fixes #31140, references #23662.

Historically, this plugin was important to translate dynamic imports
into require calls so that we can intercept them and transpile.

This is not needed anymore with ESM loader enabled by default, so
we can avoid this transformation and support dynamic imports of
ESM-only packages/files.
Copy link
Contributor

Test results for "tests 1"

5 flaky ⚠️ [chromium-library] › library/trace-viewer.spec.ts:241:1 › should have network requests
⚠️ [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots
⚠️ [chromium] › components/splitView.spec.tsx:65:5 › drag resize
⚠️ [webkit-library] › library/browsercontext-clearcookies.spec.ts:146:3 › should remove cookies by name and domain
⚠️ [webkit-page] › page/workers.spec.ts:243:3 › should support offline

28323 passed, 637 skipped
✔️✔️✔️

Merge workflow run.

@dgozman dgozman merged commit b9106a4 into microsoft:main Jun 13, 2024
30 checks passed
mxschmitt added a commit to mxschmitt/playwright that referenced this pull request Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants