2019-12-28 16:26:42 +00:00
|
|
|
import inboxes from '../inboxes';
|
|
|
|
import ApiClient from '../ApiClient';
|
|
|
|
|
2020-06-09 10:56:33 +00:00
|
|
|
describe('#InboxesAPI', () => {
|
2019-12-28 16:26:42 +00:00
|
|
|
it('creates correct instance', () => {
|
|
|
|
expect(inboxes).toBeInstanceOf(ApiClient);
|
|
|
|
expect(inboxes).toHaveProperty('get');
|
|
|
|
expect(inboxes).toHaveProperty('show');
|
|
|
|
expect(inboxes).toHaveProperty('create');
|
|
|
|
expect(inboxes).toHaveProperty('update');
|
|
|
|
expect(inboxes).toHaveProperty('delete');
|
|
|
|
});
|
|
|
|
});
|