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 = () => {}; ...@@ -9,19 +9,17 @@ const noop = () => {};
describe('Toolbar', () => { describe('Toolbar', () => {
const createToolbar = props => const createToolbar = props =>
mount( mount(
<div> <Toolbar
<Toolbar closeSidebar={noop}
closeSidebar={noop} createAnnotation={noop}
createAnnotation={noop} toggleHighlights={noop}
toggleHighlights={noop} toggleSidebar={noop}
toggleSidebar={noop} isSidebarOpen={false}
isSidebarOpen={false} showHighlights={false}
showHighlights={false} newAnnotationType="note"
newAnnotationType="note" useMinimalControls={false}
useMinimalControls={false} {...props}
{...props} />
/>
</div>
); );
const findButton = (wrapper, label) => 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