import { expect } from 'chai'; import * as exported from '../../src'; describe('Entrypoint', () => { it('should export User as a named export', () => { expect(typeof exported.User).to.equal('function'); expect(exported.User.name).to.equal('User'); }); it('should export Subscription as a named export', () => { expect(typeof exported.Subscription).to.equal('function'); expect(exported.Subscription.name).to.equal('Subscription'); }); it('should export transition as a named export', () => { expect(typeof exported.Transition).to.equal('function'); expect(exported.Transition.name).to.equal('Transition'); }); });