UNPKG
transporter.io
Version:
latest (0.0.2)
0.0.2
0.0.1
0.0.0
a transporter transport system over websockets.
leostera/transporter.io
transporter.io
/
test
/
interface.js
13 lines
(8 loc)
•
235 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
var
dio =
require
(
'../'
);
describe
(
'API'
,
function
(
) {
it
(
'should complain if subscribing without a connection'
,
function
(
) { (
function
(
) { dio.
subscribe
(
'test'
); }).
should
.
throwError
(
/^Fail.*/
); }); });