Powered by
Component testing - check redirect via button
# i-need-help
f
famous-eye-40764
03/23/2023, 8:18 AM
Hi, when using Component testing how can I test that by clicking on button that have href attr I will be redirected to that site? mount(
<my-button href="https://www.google.com/">Link</my-button>
);
3
Views
Previous
Next