I'm working on a skeleton Vue.js + GopherJS app. Vue.js is a MVC library (technically an MVVM library) similar to AngularJS. I'd like to write unit tests using Go. (I could use Jasmine, but that's in JS, and I'd rather, if I possibly can, stick with Go; that's kind of the point of GopherJS, after all! :)
When running "gopherjs test", this doesn't work. There's no web page, so there's no way to load "vue.js" before my own code.
Is there some way to do this that I'm missing, or is there a better/different way to do unit testing? Should I abandon my hope of writing unit tests in Go and just use JS, Jasmine, and Karma?
Thanks!
-- Larry