combe.io

Written by Rory Combe who lives and works in Munich building useful things. You should follow him on Twitter

Extracting Pure Functions For Easier Testing

July 18, 2020

Unit testing UI components can oftentimes be a bit daunting. It can be a struggle to know where to start and what to test, especially when dealing with existing code. One easy step to get started is to extract pure functions wherever possible...