Skip to main content
menu
close
v19
K
Docs
Tutorials
Playground
Reference
more_horiz
menu
API
Roadmap
Get involved
API Reference
CLI Reference
Error Encyclopedia
Extended Diagnostics
Versioning and releases
Version compatibility
Update guide
Configurations
Migrations
arrow_back
API Reference
Overview
@angular/animations
@angular/animations/browser
@angular/animations/browser/testing
@angular/common
@angular/common/http
@angular/common/http/testing
@angular/common/testing
@angular/common/upgrade
@angular/core
@angular/core/rxjs-interop
@angular/core/testing
@angular/elements
@angular/forms
@angular/localize
@angular/localize/init
@angular/platform-browser
@angular/platform-browser-dynamic
@angular/platform-browser-dynamic/testing
@angular/platform-browser/animations
@angular/platform-browser/animations/async
@angular/platform-browser/testing
@angular/platform-server
@angular/platform-server/testing
@angular/router
@angular/router/testing
@angular/router/upgrade
@angular/service-worker
@angular/ssr
@angular/ssr/node
@angular/upgrade
@angular/upgrade/static
@angular/upgrade/static/testing
window.ng globals
arrow_back
@angular/core/testing
ComponentFixture
ComponentFixtureAutoDetect
ComponentFixtureNoNgZone
DeferBlockBehavior
DeferBlockFixture
DeferBlockState
discardPeriodicTasks
fakeAsync
flush
flushMicrotasks
getTestBed
inject
InjectSetupWrapper
MetadataOverride
ModuleTeardownOptions
resetFakeAsyncZone
TestBed
TestBedStatic
TestComponentRenderer
TestEnvironmentOptions
TestModuleMetadata
tick
waitForAsync
withModule
@angular/core/testing
getTestBed
function
code
Returns a singleton of the
TestBed
class.
API
function
getTestBed
()
:
TestBed
;
getTestBed
TestBed
Returns a singleton of the
TestBed
class.
@returns
TestBed
Jump to details