Skip to content

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬

514 B
Raw Blame
import webChannelClient from '../../channel/webChannel';
import ApiClient from '../../ApiClient';

describe('#webChannelClient', () => {
  it('creates correct instance', () => {
    expect(webChannelClient).toBeInstanceOf(ApiClient);
    expect(webChannelClient).toHaveProperty('get');
    expect(webChannelClient).toHaveProperty('show');
    expect(webChannelClient).toHaveProperty('create');
    expect(webChannelClient).toHaveProperty('update');
    expect(webChannelClient).toHaveProperty('delete');
  });
});