I have a component that contains a hook useEffect, this hook directly attaches the html tag attribute theme="light"
I am trying to test this component through
render(<MyComponent />);
screen.debug();
But I don't see the added theme attribute, it doesn't have time to be added
Can you tell me how to test this correctly?