Christian. Husband. Front-End Developer. Writer. Designer. Person. Recreational Sommelier. Probably not a Nigerian prince.
… simply call a function with some input and assert on its output. You don’t need to set up any state beforehand. That’s a very handy property!
Web forms are annoying, inefficient and they fill people with dread. Does anybody actually like filling out web forms? Nevertheless, they are a ‘necessary evil’ that can make or break some of the most cr…