mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-07-01 21:03:46 +08:00
Co-authored-by: Muhsin Keloth <[email protected]> Co-authored-by: Sivin Varghese <[email protected]> Co-authored-by: iamsivin <[email protected]> Co-authored-by: Shivam Mishra <[email protected]>
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');
|
|
});
|
|
});
|