mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-09 16:39:46 -05:00
Add test
This commit is contained in:
33
tests/cases/fourslash/getJSXOutliningSpans.tsx
Normal file
33
tests/cases/fourslash/getJSXOutliningSpans.tsx
Normal file
@@ -0,0 +1,33 @@
|
||||
////import React, { Component } from 'react';
|
||||
////
|
||||
////export class Home extends Component[| {
|
||||
//// render()[| {
|
||||
//// return (
|
||||
//// [|<div>
|
||||
//// [|<h1>Hello, world!</h1>|]
|
||||
//// [|<ul>
|
||||
//// [|<li>
|
||||
//// [|<a [|href='https://get.asp.net/'|]>
|
||||
//// ASP.NET Core
|
||||
//// </a>|]
|
||||
//// </li>|]
|
||||
//// [|<li>[|<a [|href='https://facebook.github.io/react/'|]>React</a>|] for client-side code</li>|]
|
||||
//// [|<li>[|<a [|href='http://getbootstrap.com/'|]>Bootstrap</a>|] for layout and styling</li>|]
|
||||
//// </ul>|]
|
||||
//// <div
|
||||
//// [|accesskey="test"
|
||||
//// class="active"
|
||||
//// dir="auto"|] />
|
||||
//// <PageHeader [|title="Log in"
|
||||
//// {...[|{
|
||||
//// item: true,
|
||||
//// xs: 9,
|
||||
//// md: 5
|
||||
//// }|]}|]
|
||||
//// />
|
||||
//// </div>|]
|
||||
//// );
|
||||
//// }|]
|
||||
////}|]
|
||||
|
||||
verify.outliningSpansInCurrentFile(test.ranges(), "code");
|
||||
Reference in New Issue
Block a user