How to Mock PLATFORM_ID Value for Angular Unit Testing

How to verify your application behavior in different environments? In this lesson you will get to know how you can stub the PLATFORM_ID injection token and HTTP request, for tests purpose.


This page is a preview of The newline Guide to Angular Universal

Start a new discussion. All notification go to the author.