Open
Conversation
Contributor
Author
|
@alvarocabanas If you could take a look at this it would be awesome ❤️ |
d290847 to
9559dbd
Compare
9559dbd to
822600c
Compare
nadiamoe
commented
Mar 13, 2023
Contributor
Author
nadiamoe
left a comment
There was a problem hiding this comment.
This looks awesome @alvarocabanas, thanks a lot!
Left a quick doubt and after this we can merge this :)
nadiamoe
commented
Mar 13, 2023
| } | ||
|
|
||
| //nolint:funlen | ||
| //nolint:funlen,paralleltest,maintidx |
Contributor
Author
There was a problem hiding this comment.
Why are we getting rid of paralleltest? If this is unavoidable I'd love to see a short explanation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Meant as an example rather than the actual refactor.
Renovate tests are currently missing some cases that should making them fail.
Moreover, when they fail, the output is very unreadable.
For example, consider this change:
The output of the test would be gigantic, because all expectations are offset by one:
Gigantic code block
This makes very hard to add new tests to the suite, as if the test does not work for one commit, all the others will fail as well. I think we should consider refactoring this test suite so it looks more like Dependabot's, which does not have this problem.