TypeScript/tests/cases/fourslash/navigationBarItemsSymbols1.ts
Andy Hanson fe970abc81 Change tests to use the full JSON output of the navigation bar.
This reduces the confusion of verify.navigationBarCount() counting duplicate items.
2016-05-26 08:40:35 -07:00

41 lines
891 B
TypeScript

/// <reference path="fourslash.ts"/>
////class C {
//// [Symbol.isRegExp] = 0;
//// [Symbol.iterator]() { }
//// get [Symbol.isConcatSpreadable]() { }
////}
verify.navigationBar([
{
"text": "<global>",
"kind": "module",
"childItems": [
{
"text": "C",
"kind": "class"
}
],
"indent": 0
},
{
"text": "C",
"kind": "class",
"childItems": [
{
"text": "[Symbol.isConcatSpreadable]",
"kind": "getter"
},
{
"text": "[Symbol.isRegExp]",
"kind": "property"
},
{
"text": "[Symbol.iterator]",
"kind": "method"
}
],
"indent": 1
}
]);