Looping SameeraM

On Wed, Jan 14, 2015 at 12:25 PM, Himasha Guruge <[email protected]> wrote:

> Hi All,
>
> I'm in the stage of testing an ES asset extension (chevron diagram editor)
> , under both publisher and store. In .specs files initially I need to use
> jquery related functions( create DOM elements) but then I'm given an error
> of  $ undefined .
>
>  With the help of Ayesha I downloaded the plugin jasmine-jquery and tried
> adding references of jquery and jasmine-jqeury in ES/modules/jaggery-test/
> module.xml.  It is still providing undefined error.I tried changing the
> order of references but still the same result.What is the jasmine version
> used in ES? According to [1] , it requires at least jasmine 2.0.
>
> Is there any other way of testing an ES extension that has jquery related
> methods?  Any insight/sample for this would be helpful.
>
>
> [1] 
> http://www.htmlgoodies.com/beyond/javascript/js-ref/testing-dom-events-using-jquery-and-jasmine-2.0.html
> <http://www.htmlgoodies.com/beyond/javascript/js-ref/testing-dom-events-using-jquery-and-jasmine-2.0.html>
>
> Thanks & Regards,
>
> Himasha Guruge
> *Software Engineer*
> WS*O2* *Inc.*
> Mobile: +94 777459299
> [email protected]
>



-- 
Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to