Author image

BHA

Useful programmer tips.

Cover image

How to create and use code snippets in VsCode

Some time ago I didn't understand what is code snippet and why I should use them. But when I started writing a lot of unit tests I understood how snippets can simplify my life. In this small article I will show you how to automate writing JS unit tests using snippets.

How to mock axios in jest with Typescript

This article explains the correct way how to mock axios in jest with typescript

Cover image

Using graphical diff and merge tools in GIT

Sometimes it is needed to use some graphical applications for viewing git diff or merge. Git allows to specify it.

Prettier is code formatter which can format your code automatically on file save. It can not only format, but fix code according to your eslint or tslint rules.