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

Improve typing in mock.ts #5372

Merged
merged 6 commits into from
Feb 20, 2024
Merged

Improve typing in mock.ts #5372

merged 6 commits into from
Feb 20, 2024

Conversation

tomekzaw
Copy link
Member

@tomekzaw tomekzaw commented Nov 13, 2023

Summary

This PR is a small cleanup of mock.ts in terms of typing.

Fixes #4850

Test plan

src/reanimated2/mock.ts Outdated Show resolved Hide resolved
@tjzel
Copy link
Collaborator

tjzel commented Dec 27, 2023

@tomekzaw I added all of our public API to the mocks, however I'm not sure how do we want to handle all of those functions so they are temporarily marked with a question mark with regard to their implementation.

.eslintrc.js Outdated Show resolved Hide resolved
src/mock.ts Show resolved Hide resolved
Copy link
Member Author

@tomekzaw tomekzaw left a comment

Choose a reason for hiding this comment

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

Let's merge this PR in the current shape and iterate on it.

mock.js Show resolved Hide resolved
Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

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

image

@tjzel tjzel added this pull request to the merge queue Feb 20, 2024
Merged via the queue into main with commit 69fed0e Feb 20, 2024
7 checks passed
@tjzel tjzel deleted the @tomekzaw/improve-mock branch February 20, 2024 15:31
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.

missing mock of LayoutAnimations
4 participants