velesin / jasmine-jquery

jQuery matchers and fixture loader for Jasmine framework
MIT License
1.89k stars 346 forks source link

JasmineObj not found on load #194

Open chabbrik opened 10 years ago

chabbrik commented 10 years ago

Hello everyone,

I am using Jasmine (2.0) together with RequireJS to run unit tests. Window and Jquery objects load just fine. However, jasmine-jquery fails to get Jasmine object. While inspecting, I can see defined JRequire object, which is created by Jasmine lib.

Could it be that the current jasmine-jquery version is not compatible with Jasmine v2.0?

jackvial commented 10 years ago

Hi chabbrik,

I was having the same issue trying to run jasmine-jquery-1.3.1 with jasmine-2.0. I reverted back to jasmine-1.3.1 and that solved the problem for me.

Purush0th commented 10 years ago

Hi @chabbrik ,

Are using jasmine2-amd-specrunner? I am also experiencing the same issue. https://github.com/erikringsmuth/jasmine2-amd-specrunner/issues/1

Do you have any solution for this?