Cannot use mockSteps
with specific workflowFile
passed to Act
#24
Labels
bug
Something isn't working
mockSteps
with specific workflowFile
passed to Act
#24
Hello there! First of all, thank you for this lib, it's turning out to be very useful so far so I appreciate the work put it into it!
Describe the bug
I believe there's a bug if you try to use both step mocking and passing a specific workflow file to the act runner together
To Reproduce
Workflow file
Minimal test file
Expected behavior
Both options are able to be used in conjunction and the given workflow file executes with the proper step mocked
Logs
Never makes it far enough for the act to actually execute, but the jest output is noted below.
Additional context
I suspect this is a problem with the arguments passed to the
StepMocker
from theAct
class. TheStepMocker
expects theworkflowFile
+cwd
here but what actually gets passed fromAct
'shandleStepMocking
call is the path to the workflow file 2x so that when this function tries to find the workflow file, none of theif
branches are a match.The text was updated successfully, but these errors were encountered: