refactor: clean up language service from unused code and imports (#30534)

PR Close #30534
This commit is contained in:
Alan
2019-05-17 15:02:20 +02:00
committed by Jason Aden
parent 01919fbaae
commit fd7dd4d9fc
9 changed files with 4 additions and 20 deletions

View File

@ -86,12 +86,10 @@ describe('completions', () => {
expect(() => {
let chance = 0.05;
let requests = 0;
function tryCompletionsAt(position: number) {
try {
if (Math.random() < chance) {
ngService.getCompletionsAt(fileName, position);
requests++;
}
} catch (e) {
// Emit enough diagnostic information to reproduce the error.