Skip to main content

All Questions

Tagged with
0 votes
1 answer
64 views

How to make requirejs to work with jasmine and blanketjs for code coverage?

I was working on generating code coverage report using blanketjs. Click here . But I am finding difficulty in achieving the same. Here's my code : require(['jquery', 'boot', 'JasmineBlanket'], ...
graphics123's user avatar
  • 1,261
0 votes
2 answers
3k views

Tried to add requirejs to my karma tests, and now getting "script error for: jasmine-jquery"

I had a working implementation of karma-based tests without requirejs, and I decided I should add requirejs to it before it got too large. I'm not sure what I did, but I'm now getting an error ...
David M. Karr's user avatar
1 vote
1 answer
2k views

Spying a function called by jQuery 'change' with RequireJS and Jasmine

I'm rather new at both RequireJS and Jasmine so I'm having a little trouble setting up a few basic tests to start with. I've found a lot of info on how to set up the two together, and have it working. ...
Andrew Ryno's user avatar
2 votes
1 answer
2k views

Struggling to setup Jasmine with RequireJS. Module's relative paths in define break when calling from test framework.

I have a project with which I have just recently introduced RequireJS. Before RequireJS, I had been testing my project with Jasmine. I am now trying to update Jasmine's SpecRunner so that it can ...
Sean Anderson's user avatar