If running cypress in headless mode, the browser default language might not be set correctly, which causes assertions for translation values to fail.
Continue reading How to set browser default language in Cypress
An Angular application setup has unit testing configured with Karma and Jasmine by default. This post describes the steps to replace the default test setup width Jest.
Continue reading Angular Jest testing setup
How can you make multiple HttpClient requests in order and emit only one value to the subscription?
Continue reading Multiple requests in order and emit once in Angular
The Angular Material component library show a grey background for mat-icon-button elements. The following CSS style disables the focused background.
Continue reading Remove Angular Material icon button focus
In Angular applications sometimes it’s necessary to use external libraries like Google Maps, as in any other application as well. In this post I’ll show how to create a service for this job.
Continue reading How to dynamically load external scripts in Angular
The multi tenancy principle is a useful method of showing different versions of the same application. The idea behind is to use the first segment of the url path as an indicator for the app to show content, or styles accordingly.
Continue reading Multi tenancy in Angular apps
Google Firestore is a cloud-hosted NoSQL realtime database with a quite simple to use API. One problem I ran into a few times, is fetching sub-collections together with a collection. This use-case is not covered with the Firestore API and this article show a useful workaround.
Continue reading How to get Firestore collection data with sub-collections in Angular
Sometimes it’s necessary to update a form field’s validator dynamically, depending on another field value for example. This post explains how to do this.
Continue reading Dynamic form validation in Angular
Manipulating the body class attribute in react app’s is not straight forward, because of it’s nested components architecture. The workaround demonstrated in this article helps out.
Continue reading Change body class in React app components
The Ionic dev team has changed the build processes in the beta and release candidate phases quite a bit and I had troubles to figure out solutions for including third party libs. Here is one of them.
Continue reading Using named exports for 3rd party libs in Ionic2 rollup build