fix(core): update

This commit is contained in:
2021-07-20 02:04:45 +02:00
parent a2db05bfe3
commit 6c49870dd6
3 changed files with 17109 additions and 1747 deletions

View File

@ -34,6 +34,10 @@ tap.test('should add some handlers', async () => {
tap.test('should create Server and Client', async (tools) => {
testTypedSocketServer = await typedsocket.TypedSocket.createServer(testTypedRouter);
testTypedSocketClient = await typedsocket.TypedSocket.createClient(testTypedRouter, 'http://localhost:3000');
await tools.delayFor(1000);
await testTypedSocketServer.stop();
testTypedSocketServer = await typedsocket.TypedSocket.createServer(testTypedRouter);
await tools.delayFor(60000);
});
tap.test('should process messages from both sides', async () => {