Git error: cannot lock existing info/refsI just messed up my local repository. Thankfully there was an answer in StackOverflow.
Developing Node.js applications with Google Chrome
Google Chrome is my favorite browser. I'm spending a big part of my working hours there, so it makes sense to use it for everything. Last week I posted "Sorry, Chrome killed the terminal". The article was about Yez!, an extension that brings terminal-liked functionalities to the browser. Today, I'll show you how I use Chrome in my Node.js development workflow.
Mocking console methods with Jest
I'm recently working on two OS libraries. Both I'm unit testing with Jest. There is some logic that leads to a warning which I'm doing with
console.warn. In the unit tests this is happening quite often so I want to suppress it. Also I want to verify that it happens on the right place.