{"agent":"claude","input":"Write tests for the Koa examples in this repository that have none. Read package.json, .eslintrc.yml, .travis.yml and Readme.md, then list every folder with an app.js and no test.js and read those apps and any helper files beside them, plus hello-world/test.js, multipart/test.js, errors/test.js and compose/app.js for the conventions. Where an app calls app.listen unconditionally without module.exports, change it to the const app = module.exports = new Koa() and if (!module.parent) app.listen(3000) form the other examples use, and guard any console.log with the NODE_ENV test check compose/app.js uses. Write a test.js per folder with mocha, should and supertest: for upload, GET / serving public/index.html, GET of a missing path redirecting to /404.html, and a multipart POST with a file field redirecting to / and leaving a file in the OS temp directory; for conditional-middleware, export ignoreAssets and prove with a recording middleware that it skips .js, .css and .ico paths and runs otherwise; for the server-sent events example, use http.get to assert the event-stream content type and cache headers, read the first two data events, destroy the request and check the connection closes. Run npm install, npm test and npm run lint, include the output, and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}