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