angular-cn/packages/compiler-cli/test
Alex Rickabaugh 0d8ab323a7 fix(ivy): add missing directoryExists() method to shim CompilerHost (#27470)
The method `ts.CompilerHost.directoryExists` is optional, and was not
previously handled by our ts.CompilerHost wrapper for factory and
summary shims (GeneratedShimsHostWrapper).

TypeScript checks for the existence of this method and silently ignores
things like typeRoots if it's not found. This commit adds proper handling
of directoryExists() to the shim.

A test is also added which verifies typeRoots behavior works when shims
are enabled.

PR Close #27470
2018-12-05 10:46:51 -08:00
..
compliance fix(ivy): compiler compliance tests actualized (#27473) 2018-12-04 21:07:59 -08:00
diagnostics test(ivy): update //packages/compiler-cli tests for Ivy (#27301) 2018-11-29 21:31:35 -08:00
metadata test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags (#26471) 2018-10-23 08:57:42 -07:00
ngcc test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags (#26471) 2018-10-23 08:57:42 -07:00
ngtsc fix(ivy): add missing directoryExists() method to shim CompilerHost (#27470) 2018-12-05 10:46:51 -08:00
transformers test(ivy): update //packages/compiler-cli tests for Ivy (#27301) 2018-11-29 21:31:35 -08:00
BUILD.bazel test(ivy): update //packages/compiler-cli tests for Ivy (#27301) 2018-11-29 21:31:35 -08:00
extract_i18n_spec.ts feat(compiler): add "original" placeholder value on extracted XMB (#25079) 2018-07-30 16:49:00 -07:00
mocks.ts fix(compiler-cli): Use typescript to resolve modules for metadata (#22856) 2018-07-10 11:11:48 -07:00
ngc_spec.ts build: update to Node 10 (#25822) 2018-09-06 14:58:30 -07:00
ngtools_api_spec.ts test(ivy): add ability to find already passing tests (#27449) 2018-12-05 09:34:52 -08:00
perform_compile_spec.ts feat(compiler-cli): add support to extend `angularCompilerOptions` (#22717) 2018-09-19 16:17:28 -07:00
perform_watch_spec.ts build: upgrade to TypeScript 2.6 (#21144) 2017-12-22 20:15:47 -08:00
test_support.ts build(bazel): turn on --nolegacy-external-runfiles (#26770) 2018-11-14 12:23:38 -08:00