angular/packages/examples/core/di/ts
Andrew Kushnir 120555a626 feat(core): support object-based DI flags in TestBed.inject() (#46761)
This commit applies the changes similar to the ones performed for the `inject()` function in df246bb235.

The `TestBed.inject` function is updated to use previously added object-based API for options: now the flags argument supports passing an object which configures injection flags.

DEPRECATED:

The bit field signature of `TestBed.inject()` has been deprecated, in favor of the new options object.

PR Close #46761
2022-09-27 10:09:53 -07:00
..
contentChild build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
contentChildren build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
forward_ref test: update example di tests to work with es2015 (#44505) 2022-01-05 23:20:21 +00:00
viewChild build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
viewChildren build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
injector_spec.ts feat(core): support object-based DI flags in TestBed.inject() (#46761) 2022-09-27 10:09:53 -07:00
metadata_spec.ts docs: use TS Parameter properties in SkipSelf example (#40858) 2021-02-16 09:24:25 -08:00
provider_spec.ts refactor: ensure compatibility with noImplicitOverride for examples (#42512) 2021-07-12 13:11:16 -07:00