W3cubDocs

/Angular 12

getTestBed

const

Returns a singleton of the applicable TestBed.

See more...

const getTestBed: () => TestBed;

Description

It will be either an instance of TestBedViewEngine or TestBedRender3.

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/core/testing/getTestBed