aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/service/browserSpecs.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/service/browserSpecs.js b/test/service/browserSpecs.js
index 5234f0be..7e50a280 100644
--- a/test/service/browserSpecs.js
+++ b/test/service/browserSpecs.js
@@ -223,6 +223,10 @@ describe('browser', function() {
expect(code).toEqual(202);
expect(response).toEqual('RESPONSE');
});
+
+ it('should return raw xhr object', function() {
+ expect(browser.xhr('GET', '/url', null, noop)).toBe(xhr);
+ });
});
describe('defer', function() {