MCPcopy Create free account
hub / github.com/angular/components / createFixture

Function createFixture

src/google-maps/google-map/google-map.spec.ts:413–418  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

411 expect((window as any).gm_authFailure).toBeUndefined();
412
413 const createFixture = () => {
414 const fixture = TestBed.createComponent(TestApp);
415 fixture.detectChanges();
416 spyOn(fixture.componentInstance.map.authFailure, 'emit');
417 return fixture;
418 };
419
420 const fixture1 = createFixture();
421 const fixture2 = createFixture();

Callers 1

google-map.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected