30 lines
No EOL
434 B
JavaScript
30 lines
No EOL
434 B
JavaScript
function Component(props) {
|
|
const x = [];
|
|
const f = arg => {
|
|
const y = x;
|
|
arg |> y.push(%);
|
|
};
|
|
props.input |> f(%);
|
|
return [x[0]];
|
|
}
|
|
export const FIXTURE_ENTRYPOINT = {
|
|
fn: Component,
|
|
params: [],
|
|
sequentialRenders: [{
|
|
input: 42
|
|
}, {
|
|
input: 42
|
|
}, {
|
|
input: "sathya"
|
|
}, {
|
|
input: "sathya"
|
|
}, {
|
|
input: 42
|
|
}, {
|
|
input: "sathya"
|
|
}, {
|
|
input: 42
|
|
}, {
|
|
input: "sathya"
|
|
}]
|
|
}; |