mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
test: Automatically load workflow nodes in node tests (#5380)
test: automatically load workflow nodes in node tests
This commit is contained in:
@@ -38,8 +38,7 @@ describe('Execute If Node', () => {
|
||||
},
|
||||
];
|
||||
|
||||
const nodes: INodeType[] = [new ManualTrigger(), new Code(), new Set(), new If(), new NoOp()];
|
||||
const nodeTypes = Helpers.setup(nodes);
|
||||
const nodeTypes = Helpers.setup(tests);
|
||||
|
||||
for (const testData of tests) {
|
||||
test(testData.description, async () => {
|
||||
|
||||
Reference in New Issue
Block a user