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

Run hydration tests in both static-optimized and non-static-optimized modes #4586

Open
nolanlawson opened this issue Sep 27, 2024 · 0 comments

Comments

@nolanlawson
Copy link
Collaborator

We have some hydration Karma tests that implicitly disable the static content optimization by adding lwc:spread. This is a bit repetative and fragile – it will break if lwc:spread ever becomes static-optimized.

Instead, we should do what we do with the regular Karma tests and have a mode like:

DISABLE_STATIC_CONTENT_OPTIMIZATION=1 yarn hydration:test

This would disable the static content optimization explicitly for all hydration tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant