mirror of
https://github.com/donl/plivo-node.git
synced 2026-05-25 22:07:10 -06:00
14 lines
393 B
JavaScript
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);
|
|
});
|
|
|
|
});
|