(selector: string)
| 3 | |
| 4 | const css = readFileSync(new URL('./browser-chat.css', import.meta.url), 'utf8').replace(/\/\*[\s\S]*?\*\//g, ''); |
| 5 | const rule = (selector: string) => [...css.matchAll(/([^{}]+)\{([^}]*)\}/g)].filter(match => match[1].split(',').map(item => item.trim()).includes(selector)).map(match => match[2]).join(';'); |
| 6 | |
| 7 | /** The lines read from JSONBAgg ended mid-template at the panel edge, behind a hidden scrollbar (B2). */ |
| 8 | describe('code blocks in a chat answer', () => { |
no outgoing calls
no test coverage detected