From the course: Angular: Testing and Debugging

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Custom test bed wrapper

Challenge: Custom test bed wrapper - Angular Tutorial

From the course: Angular: Testing and Debugging

Start my 1-month free trial

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