erikringsmuth / jasmine2-amd-specrunner

Jasmine AMD Spec Runner
6 stars 1 forks source link

Issue with jasmine-jquery #1

Open Purush0th opened 10 years ago

Purush0th commented 10 years ago

Hi I have an issue with using jasmine-jquery to test DOM. Where jasmine object is undefined, But jquery($) and window is fine.

+function (window, jasmine, $) 
erikringsmuth commented 10 years ago

I did some investigation and here's what I've got so far. Hope this get's you in the right direction!

https://gist.github.com/erikringsmuth/d74eeb1f6aa2697b8466

Purush0th commented 10 years ago

Hi @erikringsmuth , Thanks for your investigation. It really helped a lot. Now the above issue has been fixed. Now the concern is jasmine-jquery functions(e.g "toHaveClass()") seem to be undefined.