Angular backend environment config

Angular backend environment config

The best practice to configure an Angular app is to define multiple environment files and use one of them at compilation time. Unfortunately, with line-of-business apps, I mostly saw that the usual way is to build a single bundle which is then deployed through individual stages, and each starts it with a different configuration file...
Angular TestBed made easy

Angular TestBed made easy

Angular CLI projects come with a testing framework and automatically generated test files, however, it is still quite a lot of work to set up those tests for services or components which requires multiple dependencies. In this article, I am going to show you a trick on how to take advantage of already existing module configuration and avoid setting up your (test)bed all the time!
Running Angular tests with Github Actions

Running Angular tests with Github Actions

It is a while since Github actions were introduced, however, I got my hands on it just now. To be honest, I am really surprised how easy it was for me, a developer without any deeper knowledge of CI, to run tests for Angular CLI project, so let's take a look.