Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / http-proxy / test / ws / socket.io-test.js
1 /*
2  * socket.io-test.js: Test for proxying `socket.io` requests.
3  *
4  * (C) 2010 Nodejitsu Inc.
5  * MIT LICENCE
6  *
7  */
8
9 var vows = require('vows'),
10     macros = require('../macros'),
11     helpers = require('../helpers/index');
12
13 vows.describe(helpers.describe('socket.io', 'ws')).addBatch({
14   "With a valid target server": {
15     "and no latency": macros.ws.assertProxied(),
16     // "and latency": macros.ws.assertProxied({
17     //   latency: 2000
18     // })
19   }
20 }).export(module);