fix(core): update

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

18842
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,10 +13,10 @@
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^1.0.78",
"@gitzone/tstest": "^1.0.44",
"@pushrocks/tapbundle": "^3.2.10",
"@types/node": "^14.14.22",
"@gitzone/tsbundle": "^1.0.80",
"@gitzone/tstest": "^1.0.54",
"@pushrocks/tapbundle": "^3.2.14",
"@types/node": "^16.3.3",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
},
@ -24,7 +24,7 @@
"@apiglobal/typedrequest": "^1.0.56",
"@apiglobal/typedrequest-interfaces": "^1.0.15",
"@pushrocks/isohash": "^1.0.2",
"@pushrocks/smartexpress": "^3.0.100",
"@pushrocks/smartexpress": "^3.0.102",
"@pushrocks/smartsocket": "^1.2.8",
"@pushrocks/smartstring": "^3.0.24"
},

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 () => {