Kent C. Dodds write about getting started with javascript testing in But really, what is a JavaScript test?.

It’s worth a look if you’re new to testing in javascript.