Sha256: 05fc83efd6c0b82af90b9ee15bce142c63d7c2564eaa5287fb60556b4c18f489

Contents?: true

Size: 512 Bytes

Versions: 17

Compression:

Stored size: 512 Bytes

Contents

/*
 * 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);

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
hooch-0.4.2 jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
hooch-0.4.1 jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
hooch-0.4.0 jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
hooch-0.3.0 jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
hooch-0.2.1 jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
hooch-0.2.0 jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
hooch-0.1.0 jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
hooch-0.0.8 jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
hooch-0.0.7 jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
hooch-0.0.6 jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
entangled-0.0.16 spec/dummy/public/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
entangled-0.0.15 spec/dummy/public/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
entangled-0.0.14 spec/dummy/public/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
entangled-0.0.13 spec/dummy/public/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
entangled-0.0.12 spec/dummy/public/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
entangled-0.0.11 spec/dummy/public/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js
entangled-0.0.10 spec/dummy/public/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js