Property-based testing is for people who do not like to write unit tests. Instead of providing examples, you provide a fact that should hold true for any possible input, and let the test framework, fast-check in this case, generate random inputs for you.
In this live demo session, Jan shows how to use this for even more complex UI testing with a TodoMVC that uses React Hooks.
Presenter: Jan van Brügge