diff --git a/test/basic.test.ts b/test/basic.test.ts index 104330aa00..5e98abf436 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -344,6 +344,9 @@ describe('automatically keyed composables', () => { expect(html).toContain('true') expect(html).not.toContain('false') }) + it('should match server-generated keys', async () => { + await expectNoClientErrors('/keyed-composables') + }) }) describe('dynamic paths', () => { diff --git a/test/fixtures/basic/pages/keyed-composables.vue b/test/fixtures/basic/pages/keyed-composables.vue index 2879009aef..0ed479f62a 100644 --- a/test/fixtures/basic/pages/keyed-composables.vue +++ b/test/fixtures/basic/pages/keyed-composables.vue @@ -1,17 +1,31 @@