angular-cn/packages/compiler-cli/test/ngtsc
Alex Rickabaugh 8634d0bcd8 feat(ivy): emit metadata along with all Angular types (#26860)
This commit causes a call to setClassMetadata() to be emitted for every
type being compiled by ngtsc (every Angular type). With this metadata,
the TestBed should be able to recompile these classes when overriding
decorator information.

Testing strategy: Tests in the previous commit for
generateSetClassMetadataCall() verify that the metadata as generated is
correct. This commit enables the generation for each DecoratorHandler,
and a test is added to ngtsc_spec to verify all decorated types have
metadata generated for them.

PR Close #26860
2018-10-31 19:52:36 -04:00
..
fake_core test(ivy): implement tests for template type-checking (#26203) 2018-10-04 10:11:17 -07:00
BUILD.bazel test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags (#26471) 2018-10-23 08:57:42 -07:00
env.ts test(ivy): refactor ngtsc tests to use an NgtscTestEnvironment helper (#26203) 2018-10-04 10:11:17 -07:00
ngtsc_spec.ts feat(ivy): emit metadata along with all Angular types (#26860) 2018-10-31 19:52:36 -04:00
template_typecheck_spec.ts test(ivy): implement tests for template type-checking (#26203) 2018-10-04 10:11:17 -07:00