Error: Not implemented: HTMLFormElement.prototype.submit

I had a similar issue which was resolved by calling the event.preventDefault() method.

This would need to be called in your ‘onSubmit’ function i think

const onSubmit = jest.fn(e => e.preventDefault());

edit: woops forgot to invoke it! 😅

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)