How one can write test-case for Scala.js utility – TechLoft