mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 09:08:02 +00:00
fix
This commit is contained in:
@@ -53,7 +53,9 @@ test('\'say\' tests', async(t) => {
|
|||||||
let obj = await getJSON(`http:127.0.0.1:3100/lastRequest/${from}_callStatus`);
|
let obj = await getJSON(`http:127.0.0.1:3100/lastRequest/${from}_callStatus`);
|
||||||
console.log(obj);
|
console.log(obj);
|
||||||
t.ok(obj.body.customerdata.callCount === 10,
|
t.ok(obj.body.customerdata.callCount === 10,
|
||||||
'create-call: call-hook contains correct format for customerData');
|
'create-call: status-hook contains correct format for customerData');
|
||||||
|
t.ok(obj.body.customerData.callCount === 10,
|
||||||
|
'create-call: status-hook contains correct format for customerData');
|
||||||
disconnect();
|
disconnect();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(`error received: ${err}`);
|
console.log(`error received: ${err}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user