preact-material-components
Version:
preact wrapper for "Material Components for the web"
13 lines (10 loc) • 356 B
JavaScript
import React from '../legacy';
describe('legacy', () => {
it('should export server', () => {
expect(React).to.have.property('renderToStaticMarkup').that.is.a.function;
});
it('should export compat', () => {
expect(React).to.have.property('createElement').that.is.a.function;
expect(React).to.have.property('render').that.is.a.function;
});
});