14 lines
319 B
JavaScript
14 lines
319 B
JavaScript
|
const {
|
||
|
getNumber
|
||
|
} = "shared-runtime" |> require(%);
|
||
|
function Component(props) {
|
||
|
// Two scopes: one for `getNumber()`, one for the object literal.
|
||
|
// Neither has dependencies so they should merge
|
||
|
return {
|
||
|
session_id: getNumber()
|
||
|
};
|
||
|
}
|
||
|
export const FIXTURE_ENTRYPOINT = {
|
||
|
fn: Component,
|
||
|
params: [{}]
|
||
|
};
|