diff --git a/doc/code-walkthrough.md b/doc/code-walkthrough.md index 4797d7cfd1..d72a7208d8 100644 --- a/doc/code-walkthrough.md +++ b/doc/code-walkthrough.md @@ -58,7 +58,7 @@ The tests are also divided into several parts: [redis-token-persistence.integration]: https://github.com/badges/shields/blob/master/core/token-pooling/redis-token-persistence.integration.js [github-api-provider.integration]: https://github.com/badges/shields/blob/master/services/github/github-api-provider.integration.js -Our goal is for the core code is to reach 100% coverage of the code in the +Our goal is to reach 100% coverage of the code in the frontend, core, and service helper functions when the unit and functional tests are run. @@ -95,7 +95,7 @@ test this kind of logic through unit tests (e.g. of `render()` and callback with the four parameters `( queryParams, match, end, ask )` which is created in a legacy helper function in [`legacy-request-handler.js`][legacy-request-handler]. This callback - delegates to a callback in `BaseService.register` with four different + delegates to a callback in `BaseService.register` with three different parameters `( queryParams, match, sendBadge )`, which then runs `BaseService.invoke`. `BaseService.invoke` instantiates the service and runs `BaseService#handle`.