workflow-core
workflow-core copied to clipboard
Can't use WorkflowTest when workflow constructor takes parameters
Describe the bug
WorkflowTest<TWorkflow, TData> has a limitation : where TWorkflow : new() thus preventing use of workflows with no parameterless constructor.
To Reproduce
Expected behavior
Should remove the new() constraint.
Additional context Would be happy to submit a pull request.