()
| 13 | return <><output>{JSON.stringify(reading)}</output><button onClick={reading.refresh}>Refresh</button></>; |
| 14 | } |
| 15 | const state = () => JSON.parse(container.querySelector('output')?.textContent ?? '{}'); |
| 16 | const render = async (read: () => Promise<number>, active = true, paused = false) => { |
| 17 | await act(async () => { root.render(<Harness read={read} active={active} paused={paused} />); }); |
| 18 | }; |
no outgoing calls
no test coverage detected