diff --git a/test/nuxt/nuxt-island.test.ts b/test/nuxt/nuxt-island.test.ts index 7640c91f37..6ef437d728 100644 --- a/test/nuxt/nuxt-island.test.ts +++ b/test/nuxt/nuxt-island.test.ts @@ -201,4 +201,41 @@ describe('client components', () => { vi.mocked(fetch).mockReset() expectNoConsoleIssue() }) + + + it('should not replace nested client components data-island-uid', async () => { + const componentId = 'Client-12345' + + const stubFetch = vi.fn(() => { + return { + id: '1234', + html: `