{"agent":"claude","input":"Write the missing service tests for this Feathers 5 app. The server is in feathers-chat-ts. Read its package.json, config/default.json, config/test.json, knexfile.ts, the migrations, src/app.ts, src/authentication.ts, src/channels.ts, src/client.ts, every file under src/services and src/hooks, and all four files under test first. List each rule the hooks, schemas and resolvers enforce, then write one Mocha test per rule in the existing style (assert, ts-node, the REST client from src/client.ts for external calls and app.service for internal ones): open sign-up, JWT required elsewhere, no update method, password hashing and hiding, the Gravatar default, unknown properties refused, users limited to their own record outside find, messages taking only text with userId and createdAt set by the server, authors only patching and removing their own messages, the pagination max, no password on the user nested in a message, and GitHubStrategy.getEntityData with and without an email. Create test users with unique emails and remove them afterwards. Add a sqlite.connection entry to config/test.json so tests stop using the development database file. Change nothing under src: where a test shows behaviour that looks unintended, such as patching userId on a message, keep the test, mark it clearly and describe it in the pull request. Run npm test twice from a clean database and paste the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}