blob: d833109e67e332549f853ea9e61ae1b240af429f [file] [log] [blame]
/*
* socket.io-test.js: Test for proxying `socket.io` requests.
*
* (C) 2010 Nodejitsu Inc.
* MIT LICENCE
*
*/
var vows = require('vows'),
macros = require('../macros'),
helpers = require('../helpers/index');
vows.describe(helpers.describe('socket.io', 'ws')).addBatch({
"With a valid target server": {
"and no latency": macros.ws.assertProxied(),
// "and latency": macros.ws.assertProxied({
// latency: 2000
// })
}
}).export(module);