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 data-disabled to test fixtures #1286

Closed
wants to merge 1 commit into from

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.

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