I need to test functionality of slider component in react based on jQuery-UI slider.
i tried using Jest and unMock jQuery but i'm getting an outerWidth undefined error from jQuery.
no luck so far googling this :)
I need to test functionality of slider component in react based on jQuery-UI slider.
i tried using Jest and unMock jQuery but i'm getting an outerWidth undefined error from jQuery.
no luck so far googling this :)
found this, looks like the solution http://yahooeng.tumblr.com/post/102274727496/to-testutil-or-not-to-testutil