Files
socket.io/test/support/env.js
Roman Shtylman 2d9555c639 add test support server
Allows for tests to actually make connections to a backend.
2013-11-18 15:15:29 -05:00

6 lines
223 B
JavaScript

// WARNING this is bad practice
// we only do this in our tests because we need to test engine.io-client
// support in browsers and in node.js
// some tests do not yet work in both
module.exports.browser = !!global.window;