@appearhere/bloom
Version:
Appear Here's pattern library and styleguide
14 lines (11 loc) • 406 B
JavaScript
import React from 'react';
import ReactDOM from 'react-dom';
import LeftRight from './LeftRight';
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<LeftRight leftChildren="" rightChildren="" />, div);
});
it('renders with missing child', () => {
const div = document.createElement('div');
ReactDOM.render(<LeftRight rightChildren="" />, div);
});