telebit.js/tests
2018-07-03 04:37:41 -06:00
..
echo.js tested normal and error conditions for a few different things 2018-06-30 16:18:22 -06:00
pair-request.js ws 2018-06-21 15:01:31 -06:00
pair-state.js comments 2018-06-22 23:52:47 -06:00
README.md fix error condition 2018-07-01 01:35:45 -06:00
windows-pipe.js don't define host and port, even as null 2018-07-03 04:37:41 -06:00
windows-spawn-pipe.js don't define host and port, even as null 2018-07-03 04:37:41 -06:00

There are a number of conditions and whatnot that must be tested in more-or-less real-world conditions.

telebit init // fresh install telebit init // after install complete

telebit http 3000 // have an app listening on localhost:3000 telebit http 4545 // do not have an app listening

telebit http ./path/to/site telebit http ./path/to/dir telebit http ./path/to/file telebit http ./doesnt/exist

telebit ssh auto // do have ssh listening on localhost:22 telebit ssh 4545 // do have ssh listenening

telebit tcp 3000 // have an echo server listening on localhost:3000 telebit tcp 4545 // no server listening

telebit tcp ./path/to/file telebit tcp ./path/to/dir