efc1b7df08
* More thoroughly test navigateTo * Fix #25233 and #25237 * Update API (#24966)
15 lines
432 B
TypeScript
15 lines
432 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @noLib: true
|
|
|
|
////const [|{| "name": "c", "kind": "const" |}c = 10|];
|
|
////function foo() {
|
|
//// const [|{| "name": "d", "kind": "const", "containerName": "foo", "containerKind": "function" |}d = 10|];
|
|
////}
|
|
|
|
for (const range of test.ranges()) {
|
|
verify.navigateTo({
|
|
pattern: range.marker.data.name,
|
|
expected: [{ ...range.marker.data, range }],
|
|
})
|
|
}
|