test(Item Lists Node): Unit tests (no-changelog)

This commit is contained in:
Michael Kret
2023-02-07 11:27:37 +02:00
committed by GitHub
parent db49f052bc
commit 26b69b5ffc
10 changed files with 1450 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
import { WorkflowExecute } from 'n8n-core';
import { createDeferredPromise, INodeTypes, IRun, Workflow } from 'n8n-workflow';
import * as Helpers from './Helpers';
import type { WorkflowTestData } from './types';
export async function executeWorkflow(testData, nodeTypes: INodeTypes) {
export async function executeWorkflow(testData: WorkflowTestData, nodeTypes: INodeTypes) {
const executionMode = 'manual';
const workflowInstance = new Workflow({
id: 'test',