()
| 559 | }; |
| 560 | |
| 561 | const Repro = () => { |
| 562 | const [toggleInner, setToggleInner] = React.useState(true); |
| 563 | |
| 564 | return React.createElement( |
| 565 | "div", |
| 566 | { |
| 567 | id: "outer-wrapper", |
| 568 | style: "border: 2px solid black; padding: 10px; margin: 10px;", |
| 569 | }, |
| 570 | React.createElement("button", { |
| 571 | onclick: () => setToggleInner(!toggleInner), |
| 572 | innerText: toggleInner ? "Hide Inner" : "Show Inner", |
| 573 | }), |
| 574 | |
| 575 | toggleInner && React.createElement("div", { innerText: "pls break" }), |
| 576 | React.createElement("div", null) |
| 577 | ); |
| 578 | }; |
| 579 | |
| 580 | const TestContext = React.createContext({ hello: 2 }); |
| 581 | const ContextTest = () => { |
nothing calls this directly
no outgoing calls
no test coverage detected