test: Automatically load workflow nodes in node tests (#5380)

test: automatically load workflow nodes in node tests
This commit is contained in:
Valya
2023-02-06 15:14:57 +00:00
committed by GitHub
parent 8e428c7133
commit 9a7f3da4a3
5 changed files with 42 additions and 13 deletions

View File

@@ -30,8 +30,7 @@ describe('Execute Start Node', () => {
},
];
const nodes: INodeType[] = [new Start()];
const nodeTypes = Helpers.setup(nodes);
const nodeTypes = Helpers.setup(tests);
for (const testData of tests) {
test(testData.description, async () => {