Merge pull request #6348 from Microsoft/tsxFormattingTests
added tests for tsx formatting
This commit is contained in:
commit
9a9aa0083e
14
tests/cases/fourslash/formattingInExpressionsInTsx.ts
Normal file
14
tests/cases/fourslash/formattingInExpressionsInTsx.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
/// <reference path="fourslash.ts"/>
|
||||
|
||||
// @Filename: test.tsx
|
||||
////import * as React from "react";
|
||||
////<div
|
||||
//// autoComplete={(function () {
|
||||
////return true/*1*/
|
||||
//// })() }
|
||||
//// >
|
||||
////</div>
|
||||
|
||||
goTo.marker("1");
|
||||
edit.insert(";");
|
||||
verify.currentLineContentIs(" return true;");
|
Loading…
Reference in a new issue