move tests to __tests__

This commit is contained in:
Christopher Chedeau
2014-04-16 18:56:46 -07:00
parent 7549e2c130
commit 7ad8da74e0
2 changed files with 1 additions and 2 deletions

View File

@@ -16,6 +16,6 @@
</head> </head>
<body> <body>
<script type="text/javascript" src="spec/LayoutSpec.js"></script> <script type="text/javascript" src="src/__tests__/Layout-test.js"></script>
</body> </body>
</html> </html>

View File

@@ -627,7 +627,6 @@ describe('Layout', function() {
randEnum(node, 0.1, 'alignItems', ['flex-start', 'center', 'flex-end', 'stretch']); randEnum(node, 0.1, 'alignItems', ['flex-start', 'center', 'flex-end', 'stretch']);
randEnum(node, 0.1, 'alignSelf', ['flex-start', 'center', 'flex-end', 'stretch']); randEnum(node, 0.1, 'alignSelf', ['flex-start', 'center', 'flex-end', 'stretch']);
randEnum(node, 0.1, 'flex', ['none', 1]); randEnum(node, 0.1, 'flex', ['none', 1]);
randEnum(node, 0.1, 'position', ['relative', 'absolute']);
randChildren(node, 0.2); randChildren(node, 0.2);
return node; return node;
} }