From the course: Angular: Testing and Debugging

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Challenge: Custom test bed wrapper

Challenge: Custom test bed wrapper - Angular Tutorial

From the course: Angular: Testing and Debugging

Challenge: Custom test bed wrapper

(pleasant electronic music) - [Instructor] Here's the challenge for you. Make a custom wrapper for Angular's TestBed class so you can inject common dependencies, like our web storage service, into all your tests very quickly. The idea here is that this new class can act as a drop-in replacement for Angular's default TestBed. Good luck.

Contents