MCPcopy Index your code
hub / github.com/angular/angular / getLastFixture

Method getLastFixture

packages/core/testing/src/test_bed.ts:178–178  ·  view source on GitHub ↗

* Returns the most recently created `ComponentFixture`, or throws an error if one has not * yet been created.

()

Source from the content-addressed store, hash-verified

176 * yet been created.
177 */
178 getLastFixture<T = unknown>(): ComponentFixture<T>;
179
180 /**
181 * Execute any pending effects.

Callers 3

getLastFixtureMethod · 0.65
expectTextFunction · 0.65

Implementers 1

TestBedImplpackages/core/testing/src/test_bed.ts

Calls

no outgoing calls

Tested by

no test coverage detected