/* Island detection + props payload serialization. */ import { describe, expect, it } from 'vitest'; // @ts-ignore — dist import { defineWompo, html } from '../../dist/wompo.js'; // @ts-ignore — dist import { renderToString, devalue } from '../../dist/ssr/index.js'; function extractIslandPayload(html: string, index = 0): unknown { const re = new RegExp( `data-wompo-island="${index}"[^>]*>\\s*