Commit 9881844b authored by Eduardo Sanz García's avatar Eduardo Sanz García Committed by Eduardo

Remove unnecessary container element

parent 37497780
......@@ -9,19 +9,17 @@ const noop = () => {};
describe('Toolbar', () => {
const createToolbar = props =>
mount(
<div>
<Toolbar
closeSidebar={noop}
createAnnotation={noop}
toggleHighlights={noop}
toggleSidebar={noop}
isSidebarOpen={false}
showHighlights={false}
newAnnotationType="note"
useMinimalControls={false}
{...props}
/>
</div>
<Toolbar
closeSidebar={noop}
createAnnotation={noop}
toggleHighlights={noop}
toggleSidebar={noop}
isSidebarOpen={false}
showHighlights={false}
newAnnotationType="note"
useMinimalControls={false}
{...props}
/>
);
const findButton = (wrapper, label) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment