c087e75808
Co-authored-by: Pranav <pranav@chatwoot.com>
13 lines
500 B
JavaScript
13 lines
500 B
JavaScript
import notifications from '../notifications';
|
|
import ApiClient from '../ApiClient';
|
|
|
|
describe('#NotificationAPI', () => {
|
|
it('creates correct instance', () => {
|
|
expect(notifications).toBeInstanceOf(ApiClient);
|
|
expect(notifications).toHaveProperty('get');
|
|
expect(notifications).toHaveProperty('getNotifications');
|
|
expect(notifications).toHaveProperty('getUnreadCount');
|
|
expect(notifications).toHaveProperty('read');
|
|
expect(notifications).toHaveProperty('readAll');
|
|
});
|
|
});
|