mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(editor): Add variables and context section to schema view (#13875)
This commit is contained in:
@@ -828,11 +828,8 @@ describe('useFlattenSchema', () => {
|
||||
},
|
||||
],
|
||||
};
|
||||
const node1 = { name: 'First Node', type: 'any' };
|
||||
const node2 = { name: 'Second Node', type: 'any' };
|
||||
|
||||
const node1Schema = flattenSchema({ schema, node: node1, depth: 1 });
|
||||
const node2Schema = flattenSchema({ schema, node: node2, depth: 1 });
|
||||
const node1Schema = flattenSchema({ schema, expressionPrefix: '$("First Node")', depth: 1 });
|
||||
const node2Schema = flattenSchema({ schema, expressionPrefix: '$("Second Node")', depth: 1 });
|
||||
|
||||
expect(node1Schema[0].id).not.toBe(node2Schema[0].id);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user