2021-05-25 08:30:21 +00:00
|
|
|
import twitterClient from '../../channel/twitterClient';
|
2021-02-16 14:05:10 +00:00
|
|
|
import ApiClient from '../../ApiClient';
|
|
|
|
|
|
|
|
describe('#TwitterClient', () => {
|
|
|
|
it('creates correct instance', () => {
|
2021-05-25 08:30:21 +00:00
|
|
|
expect(twitterClient).toBeInstanceOf(ApiClient);
|
|
|
|
expect(twitterClient).toHaveProperty('get');
|
|
|
|
expect(twitterClient).toHaveProperty('show');
|
|
|
|
expect(twitterClient).toHaveProperty('create');
|
|
|
|
expect(twitterClient).toHaveProperty('update');
|
|
|
|
expect(twitterClient).toHaveProperty('delete');
|
|
|
|
expect(twitterClient).toHaveProperty('generateAuthorization');
|
2021-02-16 14:05:10 +00:00
|
|
|
});
|
|
|
|
});
|