Having converted the majority of the codebase to Typescript, I've now been working on adding unit tests using Jest, Factory.ts and And getting ChatGPT to write the vast majority of the tests. It's such a speed boost for getting things done.