mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +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');
 | 
						|
  });
 | 
						|
});
 |