(methods: Partial<T> = {})
| 65 | }); |
| 66 | |
| 67 | function createThrowingMethodGroup<T extends object>(methods: Partial<T> = {}): T { |
| 68 | return new Proxy(methods, { |
| 69 | get: (target, property) => target[property as keyof T] ?? unexpectedCommandCall, |
| 70 | }) as T; |
| 71 | } |
| 72 | |
| 73 | function createTestClient( |
| 74 | options: { |