diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/http-proxy/test/ws/ws-test.js')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/http-proxy/test/ws/ws-test.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/http-proxy/test/ws/ws-test.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/http-proxy/test/ws/ws-test.js new file mode 100644 index 00000000..f3549152 --- /dev/null +++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/http-proxy/test/ws/ws-test.js @@ -0,0 +1,23 @@ +/* + * ws-test.js: Tests for proxying raw Websocket requests. + * + * (C) 2010 Nodejitsu Inc. + * MIT LICENCE + * + */ + +var vows = require('vows'), + macros = require('../macros'), + helpers = require('../helpers/index'); + +vows.describe(helpers.describe('websocket', 'ws')).addBatch({ + "With a valid target server": { + "and no latency": macros.ws.assertProxied({ + raw: true + }), + // "and latency": macros.ws.assertProxied({ + // raw: true, + // latency: 2000 + // }) + } +}).export(module);
\ No newline at end of file |