fix: Lazy load nodes for credentials testing (#4760)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-11-30 10:28:18 +01:00
committed by GitHub
parent 3d67df490c
commit 0a7a2f3e41
16 changed files with 132 additions and 123 deletions

View File

@@ -335,10 +335,6 @@ export const workflowHelpers = mixins(
const nodeTypes: INodeTypes = {
nodeTypes: {},
init: async (nodeTypes?: INodeTypeData): Promise<void> => { },
getAll: (): Array<INodeType | IVersionedNodeType> => {
// Does not get used in Workflow so no need to return it
return [];
},
getByNameAndVersion: (nodeType: string, version?: number): INodeType | undefined => {
const nodeTypeDescription = this.nodeTypesStore.getNodeType(nodeType, version);