@spierce7, Currently we do not have an official recommended way to test js libraries, but you can take a look at how the standard library for kotlin/js is tested: https://github.com/JetBrains/kotlin/tree/master/libraries/stdlib/js
We use karma plugin for gradle to run qunit tests in phantomjs runner.