plivo-node/test/token.js
Prashant Pandey 3389c1c253 UT fix
2022-08-17 17:35:10 +05:30

14 lines
393 B
JavaScript

//unittesting for token creation
import assert from 'assert';
import sinon from 'sinon';
import {Client} from '../lib/rest/client-test';
import {PlivoGenericResponse} from '../lib/base.js';
let client = new Client('sampleid', 'sammpletoken', 'sampleproxy');
describe('Token', function () {
it('should have token object', function () {
assert('object', typeof client.token);
});
});