fix(repository-plugin): enforce published prepare dependency

This commit is contained in:
Tianyi Cui
2026-08-09 11:41:40 +08:00
parent 690fc798a5
commit 8d76ddaa6c
11 changed files with 55 additions and 12 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ describe('apply (plugin lifecycle)', () => {
expect(other.tools.get('mcp__srv__remote')).toBeDefined()
})
it('logs error and registers no tools when connect fails; dispose is a no-op', async () => {
it('logs error and registers no tools when connect fails; dispose closes the client', async () => {
mockConnect.mockRejectedValue(new Error('connection refused'))
await apply(ctx, stdioConfig)