* fix: Throw error when custom config file does not return expected value * Improve test to avoid false positive * Code review changes * remove old code * remove unused yarn.lock Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>