()
| 8 | } |
| 9 | |
| 10 | function App() { |
| 11 | return ( |
| 12 | <> |
| 13 | <h1>devtools e2e host</h1> |
| 14 | <input data-testid="text-input" placeholder="type here" /> |
| 15 | <TanStackDevtools |
| 16 | config={{ |
| 17 | theme: 'dark', |
| 18 | requireUrlFlag: new URLSearchParams(location.search).has('gated'), |
| 19 | }} |
| 20 | plugins={[ |
| 21 | { |
| 22 | id: 'demo', |
| 23 | name: 'Demo', |
| 24 | defaultOpen: true, |
| 25 | render: <DemoPlugin />, |
| 26 | }, |
| 27 | { |
| 28 | id: 'event-probe', |
| 29 | name: 'Event Probe', |
| 30 | render: <EventProbePanel />, |
| 31 | }, |
| 32 | ]} |
| 33 | /> |
| 34 | </> |
| 35 | ) |
| 36 | } |
| 37 | |
| 38 | createRoot(document.getElementById('root')!).render(<App />) |
nothing calls this directly
no outgoing calls
no test coverage detected