For React components you can try Cypress to get more "real" tests. You can use unit-tests for "utilities" functions. I don't like snapshot tests. Screenshot tests can be useful as well. I like to use type checker (for example, TypeScript and io-ts). I didn't try property-based testing for JS, but this can be a nice option.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For React components you can try Cypress to get more "real" tests. You can use unit-tests for "utilities" functions. I don't like snapshot tests. Screenshot tests can be useful as well. I like to use type checker (for example, TypeScript and io-ts). I didn't try property-based testing for JS, but this can be a nice option.