Enable previously broken absolute positioning tests (#1488)

Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1488

These were disabled when they were written because they were broken. The recent changes made them pass now so lets enable them. I also added another test that is already passing

Reviewed By: NickGerleman

Differential Revision: D51404875

fbshipit-source-id: ed10004968b871c1d033640d75138f00afc15968
This commit is contained in:
Joe Vilches
2023-12-07 21:25:45 -08:00
committed by Facebook GitHub Bot
parent bc5dc2d6bf
commit 1ea575684d
8 changed files with 196 additions and 20 deletions

View File

@@ -1356,7 +1356,7 @@ test('absolute_layout_percentage_height_based_on_padded_parent_and_align_items_c
config.free();
}
});
test.skip('absolute_layout_padding_left', () => {
test('absolute_layout_padding_left', () => {
const config = Yoga.Config.create();
let root;
@@ -1405,7 +1405,7 @@ test.skip('absolute_layout_padding_left', () => {
config.free();
}
});
test.skip('absolute_layout_padding_right', () => {
test('absolute_layout_padding_right', () => {
const config = Yoga.Config.create();
let root;
@@ -1454,7 +1454,7 @@ test.skip('absolute_layout_padding_right', () => {
config.free();
}
});
test.skip('absolute_layout_padding_top', () => {
test('absolute_layout_padding_top', () => {
const config = Yoga.Config.create();
let root;