I keep running into issues trying to do things like
expect(component).toHaveClassName('hover:bg-primary');
This gives me a message like Expected <div> to have className of ".hover:bg-primary" but instead found "hover:bg-primary". If I try to escape the : I get parsing errors.