now opening and closing correclty on server and client side

This commit is contained in:
2018-03-28 00:38:32 +02:00
parent bafa94c6ac
commit c8c481fda0
6 changed files with 37 additions and 26 deletions

View File

@ -32,15 +32,18 @@ tap.test('should send a message correctly', async () => {
});
});
tap.test('should get a obsevable correctly', async () => {
tap.test('should get a observable correctly', async () => {
testMessageObservable = testUniverseClient.getMessageObservable();
});
tap.test('should receive a message correctly', async () => {
// TODO:
});
tap.test('should end the server correctly', async () => {
tap.test('should disconnect the client correctly', async () => {
testUniverseClient.close();
})
tap.test('should end the server correctly', async (tools) => {
await testUniverse.stopServer();
});