add tests for flexWrap

This commit is contained in:
Christopher Chedeau
2014-12-11 13:57:03 +00:00
parent e0bcbdcfc1
commit ef73ebd935
2 changed files with 19 additions and 2 deletions

View File

@@ -71,7 +71,8 @@ describe('Random layout', function() {
randEnum(node, 0.5, 'alignItems', ['flex-start', 'center', 'flex-end', 'stretch']);
randEnum(node, 0.5, 'alignSelf', ['flex-start', 'center', 'flex-end', 'stretch']);
randEnum(node, 0.5, 'position', ['relative', 'absolute']);
randEnum(node, 0.5, 'measure', [text(texts.small), text(texts.big)]);
//randEnum(node, 0.5, 'flexWrap', ['nowrap', 'wrap']);
//randEnum(node, 0.5, 'measure', [text(texts.small), text(texts.big)]);
if (node.style.measure) {
// align-items: stretch on a text node makes it wrap in a different way.