(stdout: string)
| 68 | } |
| 69 | |
| 70 | function expectMethodNotFound(stdout: string): void { |
| 71 | const replies = stdout.split('\n').filter((l) => l.trim()).map((l) => JSON.parse(l)); |
| 72 | expect(replies).toEqual([ |
| 73 | { jsonrpc: '2.0', id: 1, error: expect.objectContaining({ code: -32601 }) }, |
| 74 | ]); |
| 75 | } |
| 76 | |
| 77 | describe('server/discover probe (issue #2084)', () => { |
| 78 | let tempDir: string; |
no test coverage detected