Angular - Testing
How do you configure TestBed to provide a mock service with dependencies instead of the real service?
providers array to specify service overrides.useClass to replace real serviceuseClass to the mock implementation.providers with useClass to provide the mock service -> Option D15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions