This post moved to https://jussi.hallila.com/articles/incorporating-tests-to-your-frontend-build-process/.