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

refactor(babel-node): Refactor babel-node tests configuration #11440

Merged
merged 1 commit into from Apr 20, 2020

Conversation

arku
Copy link
Contributor

@arku arku commented Apr 17, 2020

Q                       A
Fixed Issues?
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

This PR is blocking #11436. The babel-node require test in #11436 which tries to parse JSX fails because of the default JSX compilation runtime change to automatic. To fix, I had to pass { runtime: 'classic' } option to the react preset here. @JLHwung suggested refactoring the test configuration setup in a separate PR against master (to not wait until #11436 gets merged).

Copy link
Member

@hzoo hzoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, good to update this old test infra

Copy link
Contributor

@JLHwung JLHwung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI error is unrelated.

@JLHwung JLHwung added the PR: Internal 🏠 A type of pull request used for our changelog categories label Apr 20, 2020
@JLHwung JLHwung merged commit 7e6839f into babel:master Apr 20, 2020
@arku arku deleted the refactor/babel-node-test-config branch April 20, 2020 20:26
arku added a commit to arku/babel that referenced this pull request Apr 20, 2020
arku added a commit to arku/babel that referenced this pull request Apr 21, 2020
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Aug 29, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: tests outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: node PR: Internal 🏠 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants