angular/packages/examples/core
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
..
animation/ts/dsl docs: remove unused "docregions" (#40479) 2021-01-20 16:12:15 -08:00
debug/ts/debug_element docs: remove unused "docregions" (#40479) 2021-01-20 16:12:15 -08:00
di/ts feat(core): support object-based DI flags in TestBed.inject() (#46761) 2022-09-27 10:09:53 -07:00
testability/ts/whenStable build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
testing/ts build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
ts test: update example di tests to work with es2015 (#44505) 2022-01-05 23:20:21 +00:00
BUILD.bazel test: update example di tests to work with es2015 (#44505) 2022-01-05 23:20:21 +00:00
main.ts refactor(core): drop all .ngfactory and .ngsummary imports (#44957) 2022-02-07 15:31:49 -08:00
start-server.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
test_module.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00