fix(core): update

This commit is contained in:
2019-05-02 11:46:36 +02:00
parent a63f14da47
commit 1b20aa5992
5 changed files with 23 additions and 21 deletions

View File

@ -39,7 +39,7 @@ tap.test('should add a socketrole', async () => {
tap.test('should register a new Function', async () => {
testSocketFunction1 = new smartsocket.SocketFunction({
allowedRoles: [testSocketRole1],
funcDef: async dataArg => {
funcDef: async (dataArg, socketConnectionArg) => {
return dataArg;
},
funcName: 'testFunction1'