Add data-disabled to test fixtures #1286

Closed
NickGerleman wants to merge 1 commits from export-D45723003 into main
NickGerleman commented 2023-05-10 00:26:02 -07:00 (Migrated from github.com)

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

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 commented 2023-05-10 00:27:04 -07:00 (Migrated from github.com)

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

This pull request was **exported** from Phabricator. Differential Revision: [D45723003](https://www.internalfb.com/diff/D45723003)
NickGerleman commented 2023-05-10 00:32:45 -07:00 (Migrated from github.com)

cc @nicoburns

cc @nicoburns
facebook-github-bot commented 2023-05-10 21:09:40 -07:00 (Migrated from github.com)

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

This pull request was **exported** from Phabricator. Differential Revision: [D45723003](https://www.internalfb.com/diff/D45723003)
facebook-github-bot commented 2023-05-10 22:50:57 -07:00 (Migrated from github.com)

This pull request has been merged in facebook/yoga@e769dd97d8.

This pull request has been merged in facebook/yoga@e769dd97d8b2bccceb50fc095e93154ce27cec86.
nicoburns commented 2023-05-14 04:26:33 -07:00 (Migrated from github.com)

@NickGerleman This is awesome. Does this mean that https://github.com/facebook/yoga/pull/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.

@NickGerleman This is awesome. Does this mean that https://github.com/facebook/yoga/pull/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.

Pull request closed

Sign in to join this conversation.
No description provided.