Skip to content

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

458 B
Raw Blame
import webhooksAPI from '../webhooks';
import ApiClient from '../ApiClient';

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