Jasmine DOM test using jasmine jquery with require module
- by Purushoth
I am using custom variant of jasmine 2.0 from here https://github.com/erikringsmuth/jasmine2-amd-specrunner. So that testing my require.js based application made possible.
Here i have facing problem with using jasmine-jquery. The jasmine object is undefined. $ and window is fine.
function (window, jasmine, $)
I have reference added jasmine and jquery lib too
<script type="text/javascript" src="lib/jasmine.js"></script>
<script type="text/javascript" src="lib/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="lib/helpers/jasmine-jquery.js"></script>