diff --git a/tests/cases/fourslash/getJSXOutliningSpans.tsx b/tests/cases/fourslash/getJSXOutliningSpans.tsx new file mode 100644 index 00000000000..fa4f541b193 --- /dev/null +++ b/tests/cases/fourslash/getJSXOutliningSpans.tsx @@ -0,0 +1,33 @@ +////import React, { Component } from 'react'; +//// +////export class Home extends Component[| { +//// render()[| { +//// return ( +//// [|
+//// [|

Hello, world!

|] +//// [||] +////
+//// +////
|] +//// ); +//// }|] +////}|] + +verify.outliningSpansInCurrentFile(test.ranges(), "code");