I want to test the jQuery plugin as well as the view. It seems jasmine-jquery is what would be ideal for the job, but I have not succeeded yet in making it work nicely with karma and webpack.
I always end up with the error jasmine is not defined, which I suppose jasmine-jquery tries to access to set the fixtures. My web searches have proved useless so far.
I'll take any advice on how to achieve using jasmine-jquery in my context or how to better test the front-side of the JS.
I want to test the jQuery plugin as well as the view. It seems
jasmine-jquery
is what would be ideal for the job, but I have not succeeded yet in making it work nicely with karma and webpack.I always end up with the error
jasmine is not defined
, which I supposejasmine-jquery
tries to access to set the fixtures. My web searches have proved useless so far.I'll take any advice on how to achieve using jasmine-jquery in my context or how to better test the front-side of the JS.