Published on September 24, 2021Continue Reading »
If you ever tried to test a real form submission with Jest and JSDOM, you have probably seen this error:
title: Error: Not implemented: HTMLFormElement.prototype.submit
The pattern I use in this cases is wrapping the form in the tests with a
Published on June 14, 2020Continue Reading »
I know the feeling, you are working on one branch, you need to fix something else in another branch and...
error: Your local changes to the following files would be overwritten by checkout:
Please commit your changes or stash them before you switch branches.