Keen Yee Liau 64aae3a9df test(language-service): test project cleanup (#33157)
This PR adds es2015 lib to the `tsconfig.json` of the test project so
that `Promise` could be used. Note this only affects diagnostics in the
IDE. The tsconfig in Language Service Mock Host is the actual config
values used, and it already has es2015 lib.

- Other minor cleanup: Rename imports in `main.ts`.
- Add more cases to `parsing-cases.ts`, which are tested in later PRs

PR Close #33157
2019-10-14 23:42:53 +00:00

13 lines
310 B
JSON

{
"//00": "This file is used for IDE only, actual compilation options is in MockTypescriptHost in test_utils.ts",
"compilerOptions": {
"lib": ["es2015"],
"strict": true,
"experimentalDecorators": true,
"baseUrl": "../../../..",
"paths": {
"@angular/*": ["packages/*"]
}
}
}