[Pkg-javascript-commits] [node-mocks-http] 269/296: added tests for existence of jsonp method
Thorsten Alteholz
alteholz at moszumanska.debian.org
Mon Feb 8 18:13:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
alteholz pushed a commit to branch master
in repository node-mocks-http.
commit 034d91bd3934d7dc5c1b956edd80982f0d9c40ca
Author: Abe <abe at abesmith.co.uk>
Date: Thu Oct 8 22:13:21 2015 +0300
added tests for existence of jsonp method
---
test/lib/mockResponse.spec.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/lib/mockResponse.spec.js b/test/lib/mockResponse.spec.js
index e68956f..46580f1 100644
--- a/test/lib/mockResponse.spec.js
+++ b/test/lib/mockResponse.spec.js
@@ -44,6 +44,9 @@ describe('mockResponse', function() {
expect(response).to.have.property('json');
expect(response.json).to.be.a('function');
+ expect(response).to.have.property('jsonp');
+ expect(response.jsonp).to.be.a('function');
+
expect(response).to.have.property('contentType');
expect(response.contentType).to.be.a('function');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocks-http.git
More information about the Pkg-javascript-commits
mailing list