fix(core): update
This commit is contained in:
@ -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;
|
||||
})
|
||||
);
|
||||
|
Reference in New Issue
Block a user