fix(core): update
This commit is contained in:
parent
a2db05bfe3
commit
6c49870dd6
18838
package-lock.json
generated
18838
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -13,10 +13,10 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.25",
|
"@gitzone/tsbuild": "^2.1.25",
|
||||||
"@gitzone/tsbundle": "^1.0.78",
|
"@gitzone/tsbundle": "^1.0.80",
|
||||||
"@gitzone/tstest": "^1.0.44",
|
"@gitzone/tstest": "^1.0.54",
|
||||||
"@pushrocks/tapbundle": "^3.2.10",
|
"@pushrocks/tapbundle": "^3.2.14",
|
||||||
"@types/node": "^14.14.22",
|
"@types/node": "^16.3.3",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"tslint-config-prettier": "^1.15.0"
|
"tslint-config-prettier": "^1.15.0"
|
||||||
},
|
},
|
||||||
@ -24,7 +24,7 @@
|
|||||||
"@apiglobal/typedrequest": "^1.0.56",
|
"@apiglobal/typedrequest": "^1.0.56",
|
||||||
"@apiglobal/typedrequest-interfaces": "^1.0.15",
|
"@apiglobal/typedrequest-interfaces": "^1.0.15",
|
||||||
"@pushrocks/isohash": "^1.0.2",
|
"@pushrocks/isohash": "^1.0.2",
|
||||||
"@pushrocks/smartexpress": "^3.0.100",
|
"@pushrocks/smartexpress": "^3.0.102",
|
||||||
"@pushrocks/smartsocket": "^1.2.8",
|
"@pushrocks/smartsocket": "^1.2.8",
|
||||||
"@pushrocks/smartstring": "^3.0.24"
|
"@pushrocks/smartstring": "^3.0.24"
|
||||||
},
|
},
|
||||||
|
@ -34,6 +34,10 @@ tap.test('should add some handlers', async () => {
|
|||||||
tap.test('should create Server and Client', async (tools) => {
|
tap.test('should create Server and Client', async (tools) => {
|
||||||
testTypedSocketServer = await typedsocket.TypedSocket.createServer(testTypedRouter);
|
testTypedSocketServer = await typedsocket.TypedSocket.createServer(testTypedRouter);
|
||||||
testTypedSocketClient = await typedsocket.TypedSocket.createClient(testTypedRouter, 'http://localhost:3000');
|
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 () => {
|
tap.test('should process messages from both sides', async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user