fix(core): update

This commit is contained in:
2022-01-18 17:10:46 +01:00
parent 9a23960d21
commit 544277cb8a
9 changed files with 19297 additions and 3152 deletions

View File

@ -96,7 +96,7 @@ tap.test('should be able to tag a connection from client', async (tools) => {
payload: 'yes',
});
const tagOnServerSide = await testSmartsocket.socketConnections
.find((socketConnection) => {
.findSync((socketConnection) => {
return true;
})
.getTagById('awesome');
@ -105,7 +105,7 @@ tap.test('should be able to tag a connection from client', async (tools) => {
tap.test('should be able to tag a connection from server', async (tools) => {
await testSmartsocket.socketConnections
.find((socketConnection) => {
.findSync((socketConnection) => {
return true;
}).addTag({
id: 'awesome2',
@ -133,7 +133,7 @@ tap.test('should be able to make a functionCall from server to client', async ()
{
hi: 'hi there from server',
},
testSmartsocket.socketConnections.find((socketConnection) => {
testSmartsocket.socketConnections.findSync((socketConnection) => {
return true;
})
);