fix(core): update
This commit is contained in:
@ -6,13 +6,13 @@ let deesCommsTest: deesComms.DeesComms;
|
||||
tap.test('first test', async (tools) => {
|
||||
deesCommsTest = new deesComms.DeesComms();
|
||||
deesCommsTest.createTypedHandler<any>('test', async (requestData) => {
|
||||
return {'hitheretoo': `greetings to ${requestData.hithere}`};
|
||||
return { hitheretoo: `greetings to ${requestData.hithere}` };
|
||||
});
|
||||
|
||||
// lets fire a request
|
||||
const typedrequest = deesCommsTest.createTypedRequest<any>('test');
|
||||
const result = await typedrequest.fire({
|
||||
'hithere': 'hello'
|
||||
hithere: 'hello',
|
||||
});
|
||||
console.log(JSON.stringify(result));
|
||||
});
|
||||
|
Reference in New Issue
Block a user