adam bien's blog

In-Browser Unit Testing with MochaJS, ChaiJS, BrowserSync and ES Modules 📎

In-browser unit testing JavaScript functions with MochaJS test runner, using chaijs assertions and loading the "function under test" using ES 6 modules. No local NPM / build was used, only Browsersync: