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

Update metadata test #1024

Merged
merged 4 commits into from
Jul 10, 2024
Merged

Update metadata test #1024

merged 4 commits into from
Jul 10, 2024

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Jul 9, 2024

Please Read the CONTRIBUTING Guidelines
In particular the portion on Commit Message Formatting

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Does this PR introduce a breaking change?

  • Yes
  • No

Other information:
In this PR we rewrite the metadata test so that we can get rid of webpack deprecation warning due to the usage in react-intl-webpack-plugin. The new test focuses on the behavior of metadataSubscribers, where we drafted minimal Babel plugin and webpack plugin to ensure that this feature works.

The previous test is an integration test with react-intl, however, the babel-plugin-react-intl has been renamed as babel-plugin-formatjs and the usage also evolved a lot. The current integration test might not reflect the best practice anymore, so I suggest to remove previous tests.

@JLHwung JLHwung merged commit 943f412 into main Jul 10, 2024
20 checks passed
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