// @ts-nocheck import React from "react"; const Context = React.createContext({}); const ContextProvider = ({ children }) => { const [cb, setCB] = React.useState(function () {}); const foo = true; return {children(foo)}; }; const ContextValue = ({}) => ( {foo => { if (foo) { return
Worked!
; } throw `Value "${foo}"" should be true`; }}
); const TestComponent = () => ( ); export function test() { const foo = ; return testDone(import.meta.url); }