rename ajaxt o xhr, expose jsonp
This commit is contained in:
parent
0ed3d20c4c
commit
41ac2bf002
7 changed files with 42 additions and 40 deletions
|
|
@ -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() {
|
||||
Loading…
Add table
Add a link
Reference in a new issue