jasmine-jquery icon indicating copy to clipboard operation
jasmine-jquery copied to clipboard

JasmineObj not found on load

Open chabbrik opened this issue 10 years ago • 2 comments

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?

chabbrik avatar Jun 09 '14 09:06 chabbrik

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.

jackvial avatar Jul 13 '14 12:07 jackvial

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?

Purush0th avatar Aug 22 '14 09:08 Purush0th