(errMsg string)
| 88 | } |
| 89 | |
| 90 | func stubClientFnErr(errMsg string) func(context.Context) (*gogithub.Client, error) { |
| 91 | return func(_ context.Context) (*gogithub.Client, error) { |
| 92 | return nil, errors.New(errMsg) |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | func stubGQLClientFnErr(errMsg string) func(context.Context) (*githubv4.Client, error) { |
| 97 | return func(_ context.Context) (*githubv4.Client, error) { |
no outgoing calls
no test coverage detected