| 1 | import {Stringify} from 'shared-runtime'; |
| 2 | |
| 3 | function Component(props) { |
| 4 | let x = null; |
| 5 | const callback = () => { |
| 6 | console.log(x); |
| 7 | }; |
| 8 | x = {}; |
| 9 | return <Stringify callback={callback} shouldInvokeFns={true} />; |
| 10 | } |
| 11 | |
| 12 | export const FIXTURE_ENTRYPOINT = { |
| 13 | fn: Component, |
| 14 | params: [{}], |
| 15 | }; |