Skip to content

Extract ensureInstance utility from tests#48434

Closed
rubennorte wants to merge 4 commits into
facebook:mainfrom
rubennorte:export-D67520443
Closed

Extract ensureInstance utility from tests#48434
rubennorte wants to merge 4 commits into
facebook:mainfrom
rubennorte:export-D67520443

Conversation

@rubennorte
Copy link
Copy Markdown
Contributor

Summary:
Changelog: [internal]

We were starting to repeat this logic too much in tests, so extracting so we can reuse it.

Differential Revision: D67520443

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jan 2, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D67520443

…book#48433)

Summary:

Changelog: [internal]

Allows customizing the root dimensions.

Reviewed By: christophpurrer

Differential Revision: D67693031
)

Summary:

Changelog: [internal]

Changing the defaults to use something that resembles a real device (in this case the iPhone 14 which is a very common device).

Reviewed By: christophpurrer

Differential Revision: D67759914
Summary:

Changelog: [internal]

Just a small refactor to slightly improve readability (and potentially performance).

Reviewed By: christophpurrer

Differential Revision: D67520444
Summary:

Changelog: [internal]

We were starting to repeat this logic too much in tests, so extracting so we can reuse it.

Reviewed By: rshest

Differential Revision: D67520443
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D67520443

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 3, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in a1b13f6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants