Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing th
Consider the following jasmine spec: describe(\"something.act()\", function() { it(\"calls some function of my module\", function() {
I have a plugin defined as such (function($){ $.fn.robodisco = function(callerSettings) { var findVideos = function(params){ ... }
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
In unit testing of the jQuery AJAX calls with Jasmine I usually can get by with spying on the success function before passing the options to the $.ajax() function (there are many examples on the net a
How can I use Jasmine or other tool to test the JavaScript / JQuery that is embedded inside a web page like in the example below?
I\'m finding it increasingly difficult to simulate actual user events using jQuery or native element trigger functions. For example, if you have a text input and you don\'t want the user to be able to
I have the following Jasmine context and assertion: it \"should return a javascript file\", -> # We make a request to /x.js
I have a jquery ui widget defined like this: $.widget(\"ui.someWidget\", options: {},开发者_如何学编程 _create = function() { doSomething();
Separate parts of my site have separate sets of Javascript files, which -thrown all together- interfere with each other. In order to test everything with Jasmine, 开发者_如何转开发it seems I need some