Added common requirements for tests.

This also adds a layer of compatibility for browser tests.
This commit is contained in:
Guillermo Rauch
2011-12-20 22:24:24 -08:00
parent 1caabfcd9e
commit 2113a27fca

8
test/common.js Normal file
View File

@@ -0,0 +1,8 @@
/*!
* Common test dependencies.
*/
// expose the globals that are obtained through `<script>` on the browser
expect = require('expect.js')
eio = require('../lib/engine.io-client')