-
Notifications
You must be signed in to change notification settings - Fork 24.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make text wrap examples not rely on the RNTester window width (#44505)
Summary: Pull Request resolved: #44505 # Changelog: [Internal] - The RNTester/Text tests, that are related to text wrapping (such as "wrap mode", "hyphenation", "ellipsize", "numberOfLines" ones) were written with the mobile form factor in mind, whereas the RNTester window is generally expected to be narrow and tall. Now, that we are running on other platforms as well, there is no guarantee about the RNTester window width, in general, so these tests relying on particular window width is not practical anymore. This makes the corresponding tests work in a useful way without making assumptions about the RNTester's window width. Differential Revision: D57166025 fbshipit-source-id: 3305a31f7ca254d82c85d67c975c1140050adc28
- Loading branch information
1 parent
5f0361a
commit f4996e0
Showing
1 changed file
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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