add simple fuzz test
This commit is contained in:
parent
0a90b6b77a
commit
27520842e3
59 changed files with 191 additions and 34 deletions
17
tests/index.js
Normal file
17
tests/index.js
Normal 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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue