mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	* Chore: Move conversationStats to a seperate module * Move toggleTyping to conversationTypingStatus * Remove unused agentTyping flag * Fix review comments
		
			
				
	
	
		
			15 lines
		
	
	
		
			494 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			494 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import contacts from '../contacts';
 | 
						|
import ApiClient from '../ApiClient';
 | 
						|
 | 
						|
describe('#ContactsAPI', () => {
 | 
						|
  it('creates correct instance', () => {
 | 
						|
    expect(contacts).toBeInstanceOf(ApiClient);
 | 
						|
    expect(contacts).toHaveProperty('get');
 | 
						|
    expect(contacts).toHaveProperty('show');
 | 
						|
    expect(contacts).toHaveProperty('create');
 | 
						|
    expect(contacts).toHaveProperty('update');
 | 
						|
    expect(contacts).toHaveProperty('delete');
 | 
						|
    expect(contacts).toHaveProperty('getConversations');
 | 
						|
  });
 | 
						|
});
 |