MCPcopy
hub / github.com/nektos/act / newStep

Method newStep

pkg/runner/job_executor_test.go:93–96  ·  view source on GitHub ↗
(model *model.Step, rc *RunContext)

Source from the content-addressed store, hash-verified

91}
92
93func (sfm *stepFactoryMock) newStep(model *model.Step, rc *RunContext) (step, error) {
94 args := sfm.Called(model, rc)
95 return args.Get(0).(step), args.Error(1)
96}
97
98func TestNewJobExecutor(t *testing.T) {
99 table := []struct {

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected