Improve the only test to reduce cyclomatic complexity (less indentation)
Try to keep the indentation as low as possible, avoid having large chunks of code inside an if, it's less cognitive load if you bail out soon instead.
Try to keep the indentation as low as possible, avoid having large chunks of code inside an if, it's less cognitive load if you bail out soon instead.