Skip to content

Conversation

@chenba
Copy link
Contributor

@chenba chenba commented May 22, 2025

This reduces the gzip'd main js bundle by a little over 87 kB (from ~462 kB to ~374 kB), using commit 5e3506e as the baseline.

@chenba chenba requested a review from a team as a code owner May 22, 2025 13:27
Copy link
Contributor

@vpomerleau vpomerleau left a comment

Choose a reason for hiding this comment

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

Let's try it! I've tested locally and seeing the legal pages loading as expected 👍

renderWithLocalizationProvider(<LegalPrivacy />);
testAllL10n(screen, bundle);
await waitFor(() => {
testAllL10n(screen, bundle);
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a word of caution - I've ocasionally seen false positives with grouped assertions in a waitFor block and/or non-explicit assertions (vs using expect(...).

@chenba chenba merged commit 9a18a4e into main May 22, 2025
19 checks passed
@chenba chenba deleted the FXA-11725 branch May 22, 2025 18:10
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.

3 participants