TypeScript/tests/cases/fourslash/navigateToSymbolIterator.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

13 lines
282 B
TypeScript

/// <reference path="fourslash.ts" />
////class C {
//// [|[Symbol.iterator]() {}|]
////}
verify.navigateTo({
pattern: "iterator",
expected: [
{ name: "iterator", kind: "method", range: test.ranges()[0], containerName: "C", containerKind: "class" },
],
});