add simple fuzz test

This commit is contained in:
Asraelite 2016-03-27 20:26:53 +01:00
parent 0a90b6b77a
commit 27520842e3
59 changed files with 191 additions and 34 deletions

17
tests/index.js Normal file
View file

@ -0,0 +1,17 @@
'use strict';
const io = require('socket.io-client');
const fuzz = require('./fuzz.js');
let socket = io('http://localhost:' + process.env.PORT);
socket.on('connect', test);
function test() {
wingbase.debug('Running fuzz test.');
fuzz(socket);
wingbase.debug('Ending tests.');
wingbase.stop();
}