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(
createResultOk({
type: 'object',
value: [
{
key: 'account',
properties: {
account: {
type: 'object',
value: [
{
key: 'id',
properties: {
id: {
type: 'string',
value: '',
path: '.account.id',
},
],
path: '.account',
},
},
],
path: '',
},
}),
);