what types of tests can you do in react?

I am new to automated tests and I wanted to know what types of tests can be done in reactjs, because from the observation of the current react, it uses functions with hooks to change the state. Therefore, these functions can only be tested using integration tests or tests above that.

But unit testing does not seem to be palpable, because in components it has many side effects. My question is this: what types of tests can you do in react?