angular/packages/core/testing/src
Andrew Scott 246a984a5d feat(core): add TestBed.getFixture
This adds a new method to the TestBed to retrieve the most recently created component fixture. This is useful for cases where the fixture is created in a beforeEach and needs to be accessed in a test.

If multiple fixtures have been created, this method will throw an error to prevent depending on fixture creation order.
2026-02-20 09:17:54 -08:00
..
application_error_handler.ts refactor(core): Instantiate the ErrorHandler lazily. (#58984) 2025-04-02 19:20:50 +00:00
async.ts docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
component_fixture.ts fix(core): Explicit Zone CD in TestBed providers should not override TestBed error handler (#63404) 2025-09-02 09:26:44 -07:00
defer.ts docs: rename @nodoc to @docs-private (#61194) 2025-05-09 10:23:00 -07:00
fake_async.ts docs: rewrite testing docs 2026-01-05 19:38:23 -05:00
logger.ts refactor(core): convert scripts within packages/core/testing to relative imports (#60232) 2025-03-27 18:29:35 +00:00
metadata_override.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
metadata_overrider.ts refactor(core): convert scripts within packages/core/testing to relative imports (#60232) 2025-03-27 18:29:35 +00:00
resolvers.ts refactor(core): convert scripts within packages/core/testing to relative imports (#60232) 2025-03-27 18:29:35 +00:00
styling.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
test_bed.ts feat(core): add TestBed.getFixture 2026-02-20 09:17:54 -08:00
test_bed_common.ts docs: animationsEnabled defaults to false (#63262) 2025-08-20 08:25:26 +00:00
test_bed_compiler.ts fix(core): unable to inject viewProviders when host directive with providers is present 2025-12-03 15:09:48 +01:00
test_hooks.ts refactor(core): remove private __core_private_testing_placeholder__ API (#61055) 2025-04-30 12:37:39 -07:00
testing.ts feat(core): support bindings in TestBed (#62040) 2025-06-17 11:49:27 +02:00
testing_internal.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
testing_private_export.ts refactor(core): expose getCleanupHook via private exports (#61017) 2025-04-29 10:30:17 -07:00