()
| 178 | } |
| 179 | |
| 180 | async function testCounter() { |
| 181 | // autoRetry() for awaiting client-side code loading & executing |
| 182 | await autoRetry( |
| 183 | async () => { |
| 184 | expect(await page.textContent('button')).toBe('Counter 0') |
| 185 | await page.click('button') |
| 186 | expect(await page.textContent('button')).toContain('Counter 1') |
| 187 | }, |
| 188 | { timeout: 5 * 1000 }, |
| 189 | ) |
| 190 | } |
| 191 | |
| 192 | function testUseConfig() { |
| 193 | test('useConfig() HTML', async () => { |
no outgoing calls
no test coverage detected
searching dependent graphs…