import renderToString from 'preact-render-to-string';
import React from '../src';
describe('jsx', () => {
it('should render react-style', () => {
let jsx = (
inner!
{['a', 'b']}
);
expect(jsx.attributes).to.have.property('className', 'foo bar');
let html = renderToString(jsx);
expect(html).to.equal('inner!ab
');
});
});