(b?: Button[][])
| 21 | const allow = { telegram: { allowedUsers: ['u1'] } }; |
| 22 | const flush = async () => { for (let i = 0; i < 4; i++) await new Promise(r => setTimeout(r, 0)); }; |
| 23 | const labels = (b?: Button[][]) => b?.[0]?.map(x => x.label) ?? []; |
| 24 | const card: ArtifactCard = { artifactId: 'dash', title: 'Sales Dashboard', type: 'html', verdict: 'looks_good', issues: [], liveUrl: 'http://localhost:7777/', screenshotPath: '/tmp/shot.png' }; |
| 25 | |
| 26 | describe('living-artifact bot card', () => { |