adding tests for JSX attributes/closing bracket

This commit is contained in:
SaschaNaz
2015-08-19 17:46:01 +09:00
parent e86f207859
commit 67878c934c
+15 -1
View File
@@ -10,10 +10,24 @@
//// )
////}
////
////function () {
//// return <div
////className=""/*attrAutoformat*/
/////*attrIndent*/
//// >/*danglingBraketAutoformat*/
//// </div>
////}
format.document();
goTo.marker("autoformat");
verify.currentLineContentIs(' Hello, World!');
goTo.marker("indent");
verify.indentationIs(12);
verify.indentationIs(12);
goTo.marker("attrAutoformat");
verify.currentLineContentIs(' className="">');
goTo.marker("attrIndent");
verify.indentationIs(8);
goTo.marker("danglingBracketAutoformat")
verify.currentLineContentIs(" >");