Closed avin closed 8 years ago
In other words, the preventDefault
is not for tests. Because submitting a form will change the url, which is not an intent. So we use preventDefault
here.
yup, sorry! only conditions must be removed
@avin We cannot remove conditions because jsdom
can not get event
. The related tests will fail if you remove the conditions.
This'll change the route on real browser.