Javascript unit testing 101

Part of the reason I haven't been unit testing my Javascript is because I didn't really know how (shame-face emoji). Recently, I sat down and got my head around the practical implications of writing, running and passing JS unit tests.

Purple

#663399

Weeping coconuts

Culturally sitting on Frida Kahlo's weeping coconuts