frntnd-class-with-plugins
Version:
Class that can be extended using plugins
22 lines (16 loc) • 522 B
JavaScript
/**
* @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();
});
});