Refactoring an old and broken library to using async/await with TDD | Hacker News Reader