You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, that does seem pretty common in the React world! Makes sense to test the withHydration HOC and the hydrated bundle. What I was initially thinking was:
Unit testing withHydration
Integration tests where we run the Eleventy build (maybe a nested full project with a package.json and everything?) and then assert that the generated files have the expected content. We could then load up the site in a headless browser and make assertions about the hydrated component behavior.
Now that the feature set is stabilizing a bit, the plugin desperately needs tests. Any help is appreciated!
The text was updated successfully, but these errors were encountered: