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 - 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
-
-
-
-
-
-
-
(Locked)
Testing overview2m 26s
-
(Locked)
Basic Karma configuration3m 35s
-
Testing services5m 22s
-
(Locked)
Fixing injection dependency errors6m 1s
-
(Locked)
Testing pipes4m 29s
-
(Locked)
Testing components6m 27s
-
(Locked)
Challenge: Custom test bed wrapper22s
-
(Locked)
Solution: Custom test bed wrapper1m 53s
-
(Locked)
-
-
-