The other day, I was writing a test for an Ant Design’s Avatar component. The test keeps failing because of the following error: It seems that the third party component […]
Jest – React Testing – window.matchMedia is not a function

Life, programming, trading and everything in between
The other day, I was writing a test for an Ant Design’s Avatar component. The test keeps failing because of the following error: It seems that the third party component […]
We are using the Docker pipeline catalog for one of our application where it only builds an image and does not deploy an application. We need to run our test […]
sharp is a Node.js image processing library that we used to resize avatar images in the backend. We run into problems running sharp on a Docker container using the Node.js […]
Another month, another Jenkins-X and Kubernetes issue. Google cloud recently notified us that they are going to start automatic upgrades from Kubernetes v1.25 to v1.26. Wait what? We are not […]
My blog was down for few hours recently and I noticed that the database was down again. When I checked the Docker logs, I saw several errors like this: My […]
Our whole setup involves multiple micro-frontends powered by single-spa and React configured to share libraries via dynamic imports using systemjs import maps. After updating to React 18, we encountered the […]
Yesterday, I get a host key verification error when I tried to pull or push changes to our Github.com repository. The error message itself suggested how to fix it by […]
I was today’s years old when I learn that you can actually append an array to an array using the push method instead of the concat method. concat is nice […]
As I reviewed my MySQL backups, I noticed that the data is too small and as I review the logs, I get these error: Unknown table ‘COLUMN_STATISTICS’ in information_schema (1109). […]
Several months ago, we noticed that our Jenkins-X pipeline is failing at promotion stage due to Bitnami’s helm chart repo index being trimmed. There was a one-liner fix but because […]