mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-31 19:17:48 +00:00
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: iamsivin <iamsivin@gmail.com> Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
15 lines
528 B
JavaScript
15 lines
528 B
JavaScript
import AgentBotsAPI from '../agentBots';
|
|
import ApiClient from '../ApiClient';
|
|
|
|
describe('#AgentBotsAPI', () => {
|
|
it('creates correct instance', () => {
|
|
expect(AgentBotsAPI).toBeInstanceOf(ApiClient);
|
|
expect(AgentBotsAPI).toHaveProperty('get');
|
|
expect(AgentBotsAPI).toHaveProperty('show');
|
|
expect(AgentBotsAPI).toHaveProperty('create');
|
|
expect(AgentBotsAPI).toHaveProperty('update');
|
|
expect(AgentBotsAPI).toHaveProperty('delete');
|
|
expect(AgentBotsAPI).toHaveProperty('resetAccessToken');
|
|
});
|
|
});
|