Update schema view test to use JSON schema

This commit is contained in:
Elias Meire 2025-01-30 16:42:32 +01:00
parent 3518786c6a
commit 0a18987e3a
No known key found for this signature in database

View file

@ -495,22 +495,16 @@ describe('VirtualSchema.vue', () => {
vi.spyOn(schemaPreviewStore, 'getSchemaPreview').mockResolvedValue( vi.spyOn(schemaPreviewStore, 'getSchemaPreview').mockResolvedValue(
createResultOk({ createResultOk({
type: 'object', type: 'object',
value: [ properties: {
{ account: {
key: 'account',
type: 'object', type: 'object',
value: [ properties: {
{ id: {
key: 'id',
type: 'string', type: 'string',
value: '',
path: '.account.id',
}, },
],
path: '.account',
}, },
], },
path: '', },
}), }),
); );