Iâve written about clean modular JavaScript and a nice benefit of writing code that way is testability. Recently Iâve been using Jasmine to write JS unit tests having also played with Mocha and Qunit. Jasmine has a clean interface, runs specs inside an HTML page and I find the finished spec files extremely readable thanks to rspec style test nesting. Jasmineâs HTML spec runner is great for writing
{{#tags}}- {{label}}
{{/tags}}