rename ajaxt o xhr, expose jsonp

This commit is contained in:
Leo Horie 2016-05-26 15:22:36 -04:00
parent 0ed3d20c4c
commit 41ac2bf002
7 changed files with 42 additions and 40 deletions

View file

@ -1,13 +1,13 @@
"use strict"
var o = require("../../ospec/ospec")
var ajaxMock = require("../../test-utils/ajaxMock")
var xhrMock = require("../../test-utils/xhrMock")
var parseQueryString = require("../../querystring/parse")
o.spec("ajaxMock", function() {
o.spec("xhrMock", function() {
var $window, ajax
o.beforeEach(function() {
$window = ajaxMock()
$window = xhrMock()
})
o.spec("xhr", function() {