Open skibz opened 9 years ago
see coveralls report for missed branches.
we need some kind of a mock/fake rcon server to run during tests to determine the following:
connected
this.responseCallbacks
this.commands
SERVERDATA_RESPONSE_VALUE
SERVERDATA_AUTH_RESPONSE
if we can cover all of these behaviours in tests, we'll have 100 (or close to) percent coverage. :tada:
see coveralls report for missed branches.
we need some kind of a mock/fake rcon server to run during tests to determine the following:
connected
eventconnected
eventthis.responseCallbacks
this.commands
this.commands
SERVERDATA_RESPONSE_VALUE
branch executionSERVERDATA_AUTH_RESPONSE
branch executionif we can cover all of these behaviours in tests, we'll have 100 (or close to) percent coverage. :tada: