Are you looking for a simple and to the point explanation of how to configure your Angular application for Docker? Look no further. This article walks you through the docker-compose configuration required to get you up and running for both development and production.
Testing async RxJS code in Angular is an essential skill if you like to make sure your application actually works ;) But how to you test code that has to wait a certain number of seconds before it executes?
Virtual time patches functions like setTimeout and setInterval to use fake time instead of actual time. In combination with time progression syntax, it allows us to advance the clock by a specified number of fake milliseconds. This control empowers us to test asynchronous RxJS code synchronously and deterministically.
Do you have a lot of repos on your machine? Do you know how much space the node_modules folders are occupying? Probably much more than you think. So how can you identify and remove the node_modules folders that are no longer being actively developed? This article shows the way for Mac, Linux, and Windows operating systems.
npm i vs npm ci commands... How are they the same and how are they different? If you are installing new dependencies, which is the appropriate command? How about building your application in your CI/CD pipeline? Which command should you use then? This brief article explains both commands and when you should use them.
Are you writing tests for your http requests in Angular? If the answer is no, then why? This article will show you how to create the appropriate mocks to test your application.
In this brief article, I will show you how to test your HTTP Requests in Angular, using the HttpClientTestingModule and the HttpTestingController.