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

feat: allow ast transformers to take in addl opts, fix #1942 #1946

Closed
wants to merge 3 commits into from

Conversation

longlho
Copy link
Contributor

@longlho longlho commented Sep 12, 2020

Summary

See #1942

Test plan

Changed existing unit test

Does this PR introduce a breaking change?

  • No

Other information

@longlho
Copy link
Contributor Author

longlho commented Sep 12, 2020

cc @ahnpnl

@ahnpnl
Copy link
Collaborator

ahnpnl commented Sep 12, 2020

nice ! So actually just simply pass the option to factory.

Copy link
Collaborator

@ahnpnl ahnpnl left a comment

Choose a reason for hiding this comment

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

the codes LGTM, only missing unit tests and e2e tests

e2e/__tests__/path-mapping.test.ts Outdated Show resolved Hide resolved
docs/user/config/astTransformers.md Show resolved Hide resolved
src/config/config-set.ts Outdated Show resolved Hide resolved
@longlho
Copy link
Contributor Author

longlho commented Sep 13, 2020

@ahnpnl I'm not sure how to add e2e test since the doc is broken. Also idk why existing test failed :-/ Can u provide some help?

@ahnpnl
Copy link
Collaborator

ahnpnl commented Sep 13, 2020

You can follow these steps:

@ahnpnl
Copy link
Collaborator

ahnpnl commented Sep 17, 2020

Do you get somewhere with e2e tests ? I can also take over if you don’t mind :)

@longlho
Copy link
Contributor Author

longlho commented Sep 17, 2020 via email

@ahnpnl
Copy link
Collaborator

ahnpnl commented Sep 18, 2020

Continue in #1966

@ahnpnl ahnpnl closed this Sep 18, 2020
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