diff --git a/packages/editor-ui/src/components/VirtualSchema.test.ts b/packages/editor-ui/src/components/VirtualSchema.test.ts index 16a8c67bfe..a81bec4808 100644 --- a/packages/editor-ui/src/components/VirtualSchema.test.ts +++ b/packages/editor-ui/src/components/VirtualSchema.test.ts @@ -495,22 +495,16 @@ describe('VirtualSchema.vue', () => { vi.spyOn(schemaPreviewStore, 'getSchemaPreview').mockResolvedValue( createResultOk({ type: 'object', - value: [ - { - key: 'account', + properties: { + account: { type: 'object', - value: [ - { - key: 'id', + properties: { + id: { type: 'string', - value: '', - path: '.account.id', }, - ], - path: '.account', + }, }, - ], - path: '', + }, }), );