Commit e6c161d8 by Johannes Schill

test: Update Popover test to check for className support

parent 51b0f2b0
...@@ -6,7 +6,7 @@ describe('Popover', () => { ...@@ -6,7 +6,7 @@ describe('Popover', () => {
it('renders correctly', () => { it('renders correctly', () => {
const tree = renderer const tree = renderer
.create( .create(
<Popover placement="auto" content="Popover text"> <Popover className="test-class" placement="auto" content="Popover text">
<button>Button with Popover</button> <button>Button with Popover</button>
</Popover> </Popover>
) )
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
exports[`Popover renders correctly 1`] = ` exports[`Popover renders correctly 1`] = `
<div <div
className="popper__manager" className="popper__manager test-class"
> >
<div <div
className="popper__target" className="popper__target"
......
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