angular/packages/core/testing/src
Andrew Scott 6acae1477a feat(core): Add TestBed.runInInjectionContext to help test functions which use inject (#47955)
This commit adds `TestBed.runInInjectionContext` which is equivalent to
`TestBed.inject(EnvironmentInjector).runInContext`. This function will
help make tests for functions which call `inject` from `@angular/core` a
little bit less verbose.

PR Close #47955
2022-11-22 16:53:41 -08: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): Add TestBed.runInInjectionContext to help test functions which use inject (#47955) 2022-11-22 16:53:41 -08: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): support EnvironmentProviders types internally (#47669) 2022-10-07 14:03:13 -07: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