1
0
mirror of synced 2024-11-21 20:16:03 +03:00
mg-bot-api-client-js/tests/test_request.js
Akolzin Dmitry 74cdccf5cf es6 syntax
2019-03-01 13:46:30 +03:00

15 lines
372 B
JavaScript

import chai from 'chai'
import Request from '../lib/request'
describe('#Request', function () {
let req = new Request({
host: 'http://api.example.com',
token: 'test_token'
});
it('Request parameters', function () {
chai.expect(req._host).to.equal('api.example.com');
chai.expect(req._token).to.equal('test_token');
})
});