How to test Tooltip?

Hi there :slight_smile:

I am trying to write a automated test for a component where I have a tooltip. I want to check that the tooltip is displayed when hovering over the element. Unfornutaley I am not able to get this to run. I am using the react testing-library with the userEvents to simulate the hover of the element, but the tooltip content is not added to the dom. Can anyone help me?

Codesandbox with simple test: https://codesandbox.io/s/keen-brattain-35q1k?file=/src/App.test.tsx

Kind regards, Nick