TypeScript/tests/cases/fourslash/navigationItemsComputedProperties.ts
Andy efc1b7df08
More thoroughly test navigateTo (#25239)
* More thoroughly test navigateTo

* Fix #25233 and #25237

* Update API (#24966)
2018-07-02 19:25:27 -07:00

17 lines
538 B
TypeScript

/// <reference path="fourslash.ts"/>
// @noLib: true
////[|{| "name": "C", "kind": "class" |}class C {
//// [|{| "name": "foo", "kind": "method", "containerName": "C", "containerKind": "class" |}foo() { }|]
//// ["hi" + "bye"]() { }
//// [|{| "name": "bar", "kind": "method", "containerName": "C", "containerKind": "class" |}bar() { }|]
////}|]
for (const range of test.ranges()) {
verify.navigateTo({
pattern: range.marker.data.name,
expected: [{ ...range.marker.data, range }],
});
}