mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
add fourslash test
This commit is contained in:
23
tests/cases/fourslash/getOutliningForObjectsInArray.ts
Normal file
23
tests/cases/fourslash/getOutliningForObjectsInArray.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/// <reference path="fourslash.ts"/>
|
||||
|
||||
////// objects in x should generate outlining spans that do not render in VS
|
||||
//// const x =[| [
|
||||
//// [|{ a: 0 }|],
|
||||
//// [|{ b: 1 }|],
|
||||
//// [|{ c: 2 }|]
|
||||
//// ]|];
|
||||
////
|
||||
////// objects in y should generate outlining spans that render as expected
|
||||
//// const y =[| [
|
||||
//// [|{
|
||||
//// a: 0
|
||||
//// }|],
|
||||
//// [|{
|
||||
//// b: 1
|
||||
//// }|],
|
||||
//// [|{
|
||||
//// c: 2
|
||||
//// }|]
|
||||
//// ]|];
|
||||
|
||||
verify.outliningSpansInCurrentFile(test.ranges());
|
||||
Reference in New Issue
Block a user