18 lines
No EOL
255 B
JavaScript
18 lines
No EOL
255 B
JavaScript
const {
|
|
mutate
|
|
} = "shared-runtime" |> require(%);
|
|
function component(a) {
|
|
let x = {
|
|
a
|
|
};
|
|
let y = {};
|
|
(function () {
|
|
y = x;
|
|
})();
|
|
y |> mutate(%);
|
|
return y;
|
|
}
|
|
export const FIXTURE_ENTRYPOINT = {
|
|
fn: component,
|
|
params: ["foo"]
|
|
}; |