test(language-service): Remove test for external template (#32017)

The tsserver is not meant to handle HTML files, so there is no point
sending an "open" request. The existing test is wrong because the
quickinfo returns "const name: never", which should be
"(property) WidgetComponent.name"

PR Close #32017
This commit is contained in:
Keen Yee Liau 2019-08-13 11:24:09 -07:00 committed by Andrew Kushnir
parent 9808d91c62
commit 9e6c677135
2 changed files with 0 additions and 33 deletions

View File

@ -1,22 +0,0 @@
{
"seq": 0,
"type": "response",
"command": "quickinfo",
"request_seq": 4,
"success": true,
"body": {
"kind": "const",
"kindModifiers": "declare",
"start": {
"line": 1,
"offset": 17
},
"end": {
"line": 1,
"offset": 21
},
"displayString": "const name: never",
"documentation": "",
"tags": []
}
}

View File

@ -117,17 +117,6 @@ describe('Angular Language Service', () => {
offset: 28,
});
expect(resp2).toMatchGolden('quickinfo.json');
client.sendRequest('open', {
file: `${PWD}/project/app/widget.component.html`,
});
const resp3 = await client.sendRequest('quickinfo', {
file: `${PWD}/project/app/widget.component.html`,
line: 1,
offset: 19,
});
expect(resp3).toMatchGolden('quickinfo_externalTemplate.json');
});
it('should perform definition', async () => {