Skip to content

Commit

Permalink
Added webworker server side acceptance test.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Oct 18, 2011
1 parent 241eda3 commit ef0d5f8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions support/test-runner/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,4 +299,14 @@ suite('socket.test.js', function () {
});
});

server('test webworker connection', function (io) {
io.sockets.on('connection', function (socket) {
socket.on('message', function (msg) {
if (msg == 'woot') {
socket.emit('done');
}
});
});
});

});

0 comments on commit ef0d5f8

Please sign in to comment.