You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
356 B

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;
});
});