import { h } from 'preact';
import render from 'preact-render-to-json';
import BodyMarkdown from '../components/BodyMarkdown';
describe('', () => {
const getProps = () => ({
onChange: () => {
return 'onChange';
},
default: 'defaultValue',
});
const renderBodyMarkdown = () => render();
it('Should match the snapshot', () => {
const tree = renderBodyMarkdown();
expect(tree).toMatchSnapshot();
});
});