Refactoring a Koa app (part II) - refactoring the tests
June 5, 2018
This is the second post in a series where I refactor an old (4 years) code base (an API written in Koa) to modern Javascript and tools.
Here are all the posts in the series
- Part I - get the tests to run
- Part II - where we clean up the test code a bit - this post
- Part III - where we start to move over to async/await testing
- Part IV - where finally do something about the production code, and fix the other parts of the application
- Part V - wrapping up by refactoring the root application