Skip to content

Conversation

@NickGerleman
Copy link
Contributor

Summary:
This can be marked in fixtures to skip a test without commenting it out. We add one more usage of this.

The same functionality existed (unused) before for experiments, which I changed to data-experiments.

Formatting of JS tests changed to be closer to what Prettier would output, and to remove usage of Yoga.UNDEFINED which doesn't existi and just resolves to undefined (this is converted to NaN by the wrapper layer).

Differential Revision: D45723003

@facebook-github-bot
Copy link
Contributor

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

@NickGerleman
Copy link
Contributor Author

cc @nicoburns

Summary:
Pull Request resolved: facebook#1286

This can be marked in fixtures to skip a test without commenting it out. We add one more usage of this.

The same functionality existed (unused) before for `experiments`, which I changed to `data-experiments`.

Formatting of JS tests changed to be closer to what Prettier would output, and to remove usage of `Yoga.UNDEFINED` which doesn't existi and just resolves to `undefined` (this is converted to NaN by the wrapper layer).

Reviewed By: yungsters

Differential Revision: D45723003

fbshipit-source-id: fedd16a248b8fe2541ab500731b58f4b01129339
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in e769dd9.

@nicoburns
Copy link
Contributor

@NickGerleman This is awesome. Does this mean that #1194 is now unblocked? I have some work in progress to export Taffy's test fixtures to Yoga. I'll try to get that into a publishable state, but it might make sense to merge #1194 first, as Taffy has already imported versions of those fixtures and they would therefore be included in an export.

liujinye-sys pushed a commit to open-vela/external_yoga that referenced this pull request Dec 16, 2025
Summary:
Pull Request resolved: facebook/yoga#1286

This can be marked in fixtures to skip a test without commenting it out. We add one more usage of this.

The same functionality existed (unused) before for `experiments`, which I changed to `data-experiments`.

Formatting of JS tests changed to be closer to what Prettier would output, and to remove usage of `Yoga.UNDEFINED` which doesn't existi and just resolves to `undefined` (this is converted to NaN by the wrapper layer).

Reviewed By: yungsters

Differential Revision: D45723003

fbshipit-source-id: 337af319ab1c1c12047d6579da8c7e63b4f1537a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants