better-trakt
Version:
A Trakt.tv client with native Typescript support and quality of life features
16 lines (11 loc) • 363 B
text/typescript
import { expect } from 'chai';
import trakt, { Trakt } from '../src/index';
describe('SDK', function () {
it('default export should be a function', function () {
expect(trakt).to.be.a('function');
});
it('should export Trakt class', function () {
const client = new Trakt({ clientId: '' });
expect(client).to.be.instanceOf(Trakt);
});
});