Changes in unit testing files

This commit is contained in:
kowshik-plivo 2022-08-11 13:14:00 +05:30
parent 6f16819af8
commit f617c20fd4

View file

@ -4,6 +4,12 @@ import {Client} from '../lib/rest/client-test';
let client = new Client('sampleid', 'sammpletoken', 'sampleproxy');
describe('Token', function () {
it('should get Token', function () {
return client.token.get(1)
.then(function(token) {
assert.equal(token.app_id, 1)
})
});
it('should create endpoint via interface', function () {
return client.token.create('sampleid')
.then(function(token){