(mockFn func(context.Context, string) ([]byte, error))
| 11 | ) |
| 12 | |
| 13 | func mockWorkflowUpdateDeps(mockFn func(context.Context, string) ([]byte, error)) workflowUpdateDeps { |
| 14 | deps := defaultWorkflowUpdateDeps() |
| 15 | deps.runReleasesAPI = mockFn |
| 16 | return deps |
| 17 | } |
| 18 | |
| 19 | // TestResolveLatestRelease_PrereleaseTagsSkipped verifies that prerelease tags are |
| 20 | // not selected as the upgrade target even when they have a higher base version than |
no test coverage detected