Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
fb99848df1 | |||
1bd39d0755 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartsocket",
|
"name": "@pushrocks/smartsocket",
|
||||||
"version": "1.1.40",
|
"version": "1.1.41",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartsocket",
|
"name": "@pushrocks/smartsocket",
|
||||||
"version": "1.1.40",
|
"version": "1.1.41",
|
||||||
"description": "easy and secure websocket communication",
|
"description": "easy and secure websocket communication",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
1
test/common/test.ts
Normal file
1
test/common/test.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
console.log('TODO');
|
@ -80,7 +80,10 @@ tap.test('should be able to make a functionCall from client to server', async ()
|
|||||||
});
|
});
|
||||||
|
|
||||||
tap.test('should be able to make a functionCall from server to client', async () => {
|
tap.test('should be able to make a functionCall from server to client', async () => {
|
||||||
|
const response = await testSmartsocketClient.serverCall('testFunction1', {
|
||||||
|
hi: 'hi there from client'
|
||||||
|
});
|
||||||
|
console.log(response);
|
||||||
});
|
});
|
||||||
|
|
||||||
// terminate
|
// terminate
|
||||||
|
Reference in New Issue
Block a user