5cb88237f5
* Chore: Move conversationStats to a seperate module * Move toggleTyping to conversationTypingStatus * Remove unused agentTyping flag * Fix review comments
14 lines
494 B
JavaScript
14 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');
|
|
});
|
|
});
|