mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
16 lines
561 B
JavaScript
16 lines
561 B
JavaScript
import fbChannel from '../../channel/fbChannel';
|
|
import ApiClient from '../../ApiClient';
|
|
|
|
describe('#FBChannel', () => {
|
|
it('creates correct instance', () => {
|
|
expect(fbChannel).toBeInstanceOf(ApiClient);
|
|
expect(fbChannel).toHaveProperty('get');
|
|
expect(fbChannel).toHaveProperty('show');
|
|
expect(fbChannel).toHaveProperty('create');
|
|
expect(fbChannel).toHaveProperty('update');
|
|
expect(fbChannel).toHaveProperty('delete');
|
|
expect(fbChannel).toHaveProperty('markSeen');
|
|
expect(fbChannel).toHaveProperty('toggleTyping');
|
|
});
|
|
});
|