isSpecRunning = function() {
        return currentSpec && (window.mocha || currentSpec.queue.running);
      }
@ngdoc method
@name ngMockE2E.$httpBackend#whenJSONP
@methodOf ngMockE2E.$httpBackend
@description
Creates a new backend definition for JSONP requests. For more info see `when()`.

@param {string|RegExp} url HTTP url.
@returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
  control how a matched request is handled.