Closed crackalak closed 2 years ago
Describe the bug
Clicking a form button is not causing the form to submit
To Reproduce
Stackblitz
Run npm run test
npm run test
× increments the count by click ✓ increments the count by submit
Expected behavior
Both tests pass
This is actually an issue with happy-dom: https://github.com/capricorn86/happy-dom/issues/527
happy-dom
Describe the bug
Clicking a form button is not causing the form to submit
To Reproduce
Stackblitz
Run
npm run test
× increments the count by click ✓ increments the count by submit
Expected behavior
Both tests pass