fakeAction is a minimal Executable that runs a user-supplied func against the scope and returns the configured next state. Used to drive Function tests without dragging the node package in.
| 21 | "github.com/stretchr/testify/require" |
| 22 | ) |
| 23 | |
| 24 | // fakeAction is a minimal Executable that runs a user-supplied func against |
| 25 | // the scope and returns the configured next state. Used to drive Function tests |
| 26 | // without dragging the node package in. |
| 27 | type fakeAction struct { |
| 28 | id string |
| 29 | next string |
| 30 | run func(*Scope) error |
| 31 | outputs map[string]workflowapi.DataType |
nothing calls this directly
no outgoing calls
no test coverage detected