UNPKG

frntnd-class-with-plugins

Version:
22 lines (16 loc) 522 B
/** * @author rik */ import _ from 'lodash'; import ClassWithPlugins from '../../../src/lib/classes/ClassWithPlugins'; import index from '../../../index'; describe('ClassWithPlugins', () => { it('should export the ClassWithPlugins class', (cb) => { expect(index).to.equal(ClassWithPlugins, "npm module doesn't export the ClassWithPlugins class."); cb(); }); it('should be a class', (cb) => { expect(ClassWithPlugins).to.be.a('function', 'ClassWithPlugins should be a class.'); cb(); }); });