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.

 

Loading...

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

Loading...