change to an xit

This commit is contained in:
Jared Forsyth
2015-08-06 12:35:12 -07:00
parent 3e9ac12d22
commit f7bab441e0
4 changed files with 44 additions and 46 deletions

View File

@@ -2307,6 +2307,21 @@ describe('Layout', function() {
]}
);
});
xit('should stretch a nested child', function() {
testLayout(
{children: [
{children: [{}]},
{style: {width: 40}}
]},
{width: 40, height: 0, top: 0, left: 0, children: [
{width: 40, height: 0, top: 0, left: 0, children: [
{width: 40, height: 0, top: 0, left: 0}
]},
{width: 40, height: 0, top: 0, left: 0}
]}
);
});
});
describe('Layout alignContent', function() {
@@ -2397,20 +2412,3 @@ describe('Layout alignContent', function() {
testAlignContent('flex-end', 'flex-end');
testAlignContent('flex-end', 'stretch');
});
describe('nested flex', function() {
it('should stretch a nested child', function() {
testLayout(
{children: [
{children: [{}]},
{style: {width: 40}}
]},
{width: 40, height: 0, top: 0, left: 0, children: [
{width: 40, height: 0, top: 0, left: 0, children: [
{width: 40, height: 0, top: 0, left: 0}
]},
{width: 40, height: 0, top: 0, left: 0}
]}
);
});
});