angular/packages/core/testing/src
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
..
async.ts feat(core): drop support for zone.js 0.10.x (#40823) 2021-02-24 07:58:29 -08:00
component_fixture.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
fake_async.ts docs: update flush description to include microtasks (#45237) 2022-03-07 15:41:07 -08:00
lang_utils.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
logger.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
metadata_override.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
metadata_overrider.ts fix(core): support cyclic metadata in TestBed overrides (#44215) 2021-11-19 19:27:08 +00:00
ng_zone_mock.ts refactor(core): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:15 -07:00
resolvers.ts feat(core): support TypeScript 4.8 (#47038) 2022-08-16 16:02:47 +00:00
styling.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
test_bed.ts feat(core): support object-based DI flags in TestBed.inject() (#46761) 2022-09-27 10:09:53 -07:00
test_bed_common.ts docs(core): document that destroyAfterEach is true by default (#46845) 2022-07-15 15:50:35 +00:00
test_bed_compiler.ts refactor(core): drop r3_ prefix from TestBed filenames and merge files (#46635) 2022-07-13 20:09:59 +00:00
test_hooks.ts refactor(core): combine TestBed interface and implementation to avoid cycles (#46635) 2022-07-13 20:10:00 +00:00
testing.ts refactor(core): combine TestBed interface and implementation to avoid cycles (#46635) 2022-07-13 20:10:00 +00:00
testing_internal.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00