minor
This commit is contained in:
parent
3dc3096b15
commit
7390e33d45
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "passport.socketio",
|
"name": "passport.socketio",
|
||||||
"version": "0.0.2",
|
"version": "0.0.4",
|
||||||
"description": "access passport.js authenticated user information from socket.io",
|
"description": "access passport.js authenticated user information from socket.io",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -40,7 +40,7 @@ describe('authorizer', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should do the handshake and connect', function (done){
|
it('should do the handshake and connect', function (done){
|
||||||
var socket = io.connect('http://localhost:9000');
|
var socket = io.connect('http://localhost:9000', {'force new connection':true});
|
||||||
socket.on('connect', function(){
|
socket.on('connect', function(){
|
||||||
done();
|
done();
|
||||||
}).on('error', done);
|
}).on('error', done);
|
||||||
|
Reference in New Issue
Block a user