Tobias Bosch
39b92f7e54
feat: introduce `TestBed.overrideProvider` ( #16725 )
...
This allows to overwrite all providers for a token, not matter
where they were defined.
This can be used to test JIT and AOT’ed code in the same way.
Design doc: https://docs.google.com/document/d/1VmTkz0EbEVSWfEEWEvQ5sXyQXSCvtMOw4t7pKU-jOwc/edit?usp=sharing
2017-05-15 13:12:10 -07:00
Miško Hevery
910c0d9ee7
fix(core): Update types for TypeScript nullability support ( #15472 )
2017-03-29 09:34:45 -07:00
Tobias Bosch
28ce68a13d
refactor(core): view engine - change `BindingType` to `BindingFlags` ( #15251 )
2017-03-19 12:21:37 -05:00
Tobias Bosch
06fc42bc44
fix(core): don’t throw if queries change during change detection.
...
Throwing on query changes would be a breaking change compared to v2.
Also discovers a bug with querying manually projected content, see #15117 .
Related to #14748
Closes #14925
2017-03-14 19:52:53 -07:00
Tobias Bosch
df914ef4bf
fix(core): don’t recreate `TemplateRef` when used as a reference. ( #15066 )
...
This was a regression introduced in v4 rc.0.
Fixes #14873
2017-03-13 10:44:12 -07:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00