diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2021-05-18 06:45:13 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-18 06:45:13 +1000 |
| commit | 27e7bb090e9d771c8f3e4ddba4dd956a4a56855b (patch) | |
| tree | 82cb99c1406fc94850bc3d5d66f8db40300860de /cli/tests/lsp/did_open_params_doc_symbol.json | |
| parent | aecdbba2c25d08d771a4e4fbeb62cac60015a3bd (diff) | |
refactor: share test harness for lsp between bench and integration (#10659)
Diffstat (limited to 'cli/tests/lsp/did_open_params_doc_symbol.json')
| -rw-r--r-- | cli/tests/lsp/did_open_params_doc_symbol.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/lsp/did_open_params_doc_symbol.json b/cli/tests/lsp/did_open_params_doc_symbol.json new file mode 100644 index 000000000..c74877191 --- /dev/null +++ b/cli/tests/lsp/did_open_params_doc_symbol.json @@ -0,0 +1,8 @@ +{ + "textDocument": { + "uri": "file:///a/file.ts", + "languageId": "typescript", + "version": 1, + "text": "interface IFoo {\n foo(): boolean;\n}\n\nclass Bar implements IFoo {\n constructor(public x: number) { }\n foo() { return true; }\n /** @deprecated */\n baz() { return false; }\n get value(): number { return 0; }\n set value(newVavlue: number) { return; }\n static staticBar = new Bar(0);\n private static getStaticBar() { return Bar.staticBar; }\n}\n\nenum Values { value1, value2 }\n\nvar bar: IFoo = new Bar(3);" + } +} |
