22 lines
274 B
JavaScript
22 lines
274 B
JavaScript
function foo(x, y, z) {
|
|
const items = [z];
|
|
items.push(x);
|
|
|
|
const items2 = [];
|
|
if (x) {
|
|
items2.push(y);
|
|
}
|
|
|
|
if (y) {
|
|
items.push(x);
|
|
}
|
|
|
|
return items2;
|
|
}
|
|
|
|
export const FIXTURE_ENTRYPOINT = {
|
|
fn: foo,
|
|
params: ['TodoAdd'],
|
|
isComponent: 'TodoAdd',
|
|
};
|