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

Add type tests for AnimatedRef and fix Animated Components regression #5308

Merged
merged 8 commits into from
Nov 20, 2023

Conversation

tjzel
Copy link
Contributor

@tjzel tjzel commented Oct 26, 2023

Requires #5320.

Summary

I induced a regression accidentally in #5031 regarding FlatList.

This PR:

  • fixes this regression,
  • improves the type structure of other components,
  • adds a new test suite to detect such mistakes in the future.

It also automatically fixes failing future RN version typecheck CI.

Test plan

All the new & old tests should work.

@tjzel tjzel changed the base branch from main to @tjzel/types/improve-tests October 27, 2023 14:16
@tjzel tjzel marked this pull request as ready for review October 27, 2023 14:16
@tjzel tjzel changed the title Add type tests for AnimatedRef Add type tests for AnimatedRef and fix Animated Components regression Oct 27, 2023
Copy link
Member

@piaskowyk piaskowyk left a comment

Choose a reason for hiding this comment

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

Looks good do me 👍 I don't see potential problems, but let's wait for Tomek's review too.

Base automatically changed from @tjzel/types/improve-tests to main October 30, 2023 16:57
@tjzel tjzel added this pull request to the merge queue Nov 20, 2023
Merged via the queue into main with commit 1eb2aca Nov 20, 2023
7 checks passed
@tjzel tjzel deleted the @tjzel/types/components-tests branch November 20, 2023 14:14
Latropos pushed a commit that referenced this pull request Nov 24, 2023
…#5308)

Requires #5320.

## Summary

I induced a regression accidentally in #5031 regarding FlatList. 

This PR:
- fixes this regression,
- improves the type structure of other components,
- adds a new test suite to detect such mistakes in the future.

It also automatically fixes failing future RN version typecheck CI.

## Test plan

All the new & old tests should work.
Latropos pushed a commit that referenced this pull request Dec 12, 2023
…#5308)

Requires #5320.

## Summary

I induced a regression accidentally in #5031 regarding FlatList. 

This PR:
- fixes this regression,
- improves the type structure of other components,
- adds a new test suite to detect such mistakes in the future.

It also automatically fixes failing future RN version typecheck CI.

## Test plan

All the new & old tests should work.
Latropos pushed a commit that referenced this pull request Dec 18, 2023
…#5308)

Requires #5320.

I induced a regression accidentally in #5031 regarding FlatList.

This PR:
- fixes this regression,
- improves the type structure of other components,
- adds a new test suite to detect such mistakes in the future.

It also automatically fixes failing future RN version typecheck CI.

All the new & old tests should work.
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.

3 participants