mirror of
https://github.com/marko-js/marko.git
synced 2026-02-01 16:07:13 +00:00
* enable hydrate tests, use repeated key in split component to get references to server-rendered components * allow tests to determine if hydrate mode, update attach event tests for correct expectations when hydrating * add empty class so that the component is mounted when hydrating and we have a component reference to use for testing * add support for to the hydrate tests, update tests to serializeGlobals * allow skipping hydrate only, skip hydrate for implicit component tests * skip hydrate for test with two different global inputs * better support for split/legacy components in the test harness * components are already mounted in hydrate mode, so setup needs to be done elsewhere * temporarily skip tests failing due to onCreate not being called for root level hydrated components * only add attach/detach global helpers if target is vdom - this should not run on the server and was causing the morphdom/vdom tests to fail if it was included before them * skip hydrate tests for deprecated components - there are a number of issues here that still need to be fixed