[Pkg-javascript-commits] [sockjs-client] 218/350: Close test sockjs objects
tonnerre at ancient-solutions.com
tonnerre at ancient-solutions.com
Fri Aug 5 01:04:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch upstream
in repository sockjs-client.
commit b1a4356b80db36f6792b310c708af49d4ac3566d
Author: Bryce Kahle <bkahle at gmail.com>
Date: Tue Oct 21 17:17:11 2014 -0400
Close test sockjs objects
---
tests/lib/main.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/lib/main.js b/tests/lib/main.js
index 36cebb2..5afcadb 100644
--- a/tests/lib/main.js
+++ b/tests/lib/main.js
@@ -11,6 +11,7 @@ describe('SockJS', function() {
it('should support construction without new', function () {
var s = SockJS('http://localhost');
expect(s).to.be.a(SockJS);
+ s.close();
});
it('create a valid WebSocket object', function () {
@@ -19,6 +20,7 @@ describe('SockJS', function() {
expect(s).to.have.property('readyState', SockJS.CONNECTING);
expect(s).to.have.property('extensions', '');
expect(s).to.have.property('protocol', '');
+ s.close();
});
describe('WebSocket specification step #1', function () {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git
More information about the Pkg-javascript-commits
mailing list