Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
function Component(props) {
const items = [0, 1, 2];
return items.reduce((agg, item) => {
const current = agg.count++;
agg.res.push(current);
return agg;
}, {count: 0, res: []});
}

export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{}],
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
function Component() {
let x = 0;
const inc = () => {
x++;
};
inc();
return x;
}

export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [],
};