import {graphql} from 'shared-runtime';

export function Component({a, b}) {
  const fragment = graphql`
    fragment Foo on User {
      name
    }
  `;
  return <div>{fragment}</div>;
}

export const FIXTURE_ENTRYPOINT = {
  fn: Component,
  params: [{a: 0, b: 0}],
  sequentialRenders: [
    {a: 0, b: 0},
    {a: 1, b: 0},
    {a: 1, b: 1},
    {a: 1, b: 2},
    {a: 2, b: 2},
    {a: 3, b: 2},
    {a: 0, b: 0},
  ],
};
