We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ea2f9 commit 20e1f52Copy full SHA for 20e1f52
tests/cases/fourslash/indentationInJsx3.ts
@@ -1,7 +1,7 @@
1
/// <reference path='fourslash.ts' />
2
3
//@Filename: file.tsx
4
-////function foo () {
+////function foo() {
5
//// return (
6
//// <div>
7
/////*0*/hello
@@ -10,14 +10,26 @@
10
//// )
11
////}
12
13
-goTo.marker('0');
14
-verify.currentLineContentIs("hello");
15
-goTo.marker('1');
16
-verify.currentLineContentIs("goodbye");
+verify.currentFileContentIs(
+`function foo() {
+ return (
+ <div>
17
+hello
18
+goodbye
19
+ </div>
20
+ )
21
+}`
22
+);
23
24
format.document();
25
-verify.currentLineContentIs(" hello");
-verify.currentLineContentIs(" goodbye");
26
27
28
29
30
+ hello
31
+ goodbye
32
33
34
35
0 commit comments