(commands: string[], checks: SupportCheck[])
| 66 | }; |
| 67 | |
| 68 | function assertCommandSupport(commands: string[], checks: SupportCheck[]): void { |
| 69 | for (const command of commands) { |
| 70 | for (const check of checks) { |
| 71 | assert.equal( |
| 72 | isCommandSupportedOnDevice(command, check.device), |
| 73 | check.expected, |
| 74 | `${command} ${check.label}`, |
| 75 | ); |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | test('device capability matrix stays consistent across shared command groups', () => { |
| 81 | const scenarios: Array<{ commands: string[]; checks: SupportCheck[] }> = [ |
no test coverage detected