mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
Update schema view test to use JSON schema
This commit is contained in:
parent
3518786c6a
commit
0a18987e3a
|
@ -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: '',
|
},
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue