function Component(props) { const wat = () => { const pathname = 'wat'; pathname; }; const pathname = props.wat; const deeplinkItemId = pathname ? props.itemID : null; return ; } export const FIXTURE_ENTRYPOINT = { fn: Component, params: [{wat: '/dev/null', itemID: 42}], };