Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unknown casting of mocks #1074

Merged
merged 16 commits into from
Jan 30, 2024
Merged

Remove unknown casting of mocks #1074

merged 16 commits into from
Jan 30, 2024

Conversation

iamacook
Copy link
Member

Requires #1060

This removed all instances of casting to unknown before back to the required types in our tests as per suggestion. This prevents any incorrect mocking.

Note: the type is either declared or casted to depending on whether the mock (partially) totally matches.

@iamacook iamacook self-assigned this Jan 26, 2024
@iamacook iamacook requested a review from a team as a code owner January 26, 2024 11:16
@iamacook iamacook marked this pull request as draft January 26, 2024 11:16
@iamacook iamacook marked this pull request as ready for review January 26, 2024 11:20
fmrsabino
fmrsabino previously approved these changes Jan 29, 2024
Base automatically changed from no-explicit-any to main January 30, 2024 08:15
@iamacook iamacook dismissed fmrsabino’s stale review January 30, 2024 08:15

The base branch was changed.

@hectorgomezv hectorgomezv added the in review Someone is reviewing this Pull Request label Jan 30, 2024
Copy link
Member

@hectorgomezv hectorgomezv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀🚀

@hectorgomezv hectorgomezv removed the in review Someone is reviewing this Pull Request label Jan 30, 2024
@iamacook iamacook merged commit 67e6b70 into main Jan 30, 2024
16 checks passed
@iamacook iamacook deleted the remove-as-unknown branch January 30, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants