TDD is especially useful for JavaScript since it's easy to make type errors, but getting CommomJS, ES6 modules, Jest and Node.js is not always easy.
Here are few simple examples to start.
Using userscripts with Jest
TDD is especially useful for JavaScript since it's easy to make type errors, but getting CommomJS, ES6 modules, Jest and Node.js is not always easy.
Here are few simple examples to start.
Using userscripts with Jest
MIT License