TestBed provides several functions to allow us to override dependencies that are being used in a test module.
overrideModule
overrideComponent
overrideDirective
overridePipe
For example, you might want to override the template of a component. This is useful for testing a small part of a large component, as you can ignore the output from the rest of the DOM and only focus on the part you are interested in testing.