// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Product resolver product mutation createProduct creates a new Product 1`] = `
Object {
  "assets": Array [],
  "description": "A baked potato",
  "enabled": true,
  "facetValues": Array [],
  "featuredAsset": null,
  "id": "T_21",
  "languageCode": "en",
  "name": "en Baked Potato",
  "optionGroups": Array [],
  "slug": "en-baked-potato",
  "translations": Array [
    Object {
      "description": "A baked potato",
      "languageCode": "en",
      "name": "en Baked Potato",
      "slug": "en-baked-potato",
    },
    Object {
      "description": "Eine baked Erdapfel",
      "languageCode": "de",
      "name": "de Baked Potato",
      "slug": "de-baked-potato",
    },
  ],
  "variants": Array [],
}
`;

exports[`Product resolver product mutation updateProduct updates a Product 1`] = `
Object {
  "assets": Array [],
  "description": "A blob of mashed potato",
  "enabled": true,
  "facetValues": Array [],
  "featuredAsset": null,
  "id": "T_21",
  "languageCode": "en",
  "name": "en Mashed Potato",
  "optionGroups": Array [],
  "slug": "en-mashed-potato",
  "translations": Array [
    Object {
      "description": "A blob of mashed potato",
      "languageCode": "en",
      "name": "en Mashed Potato",
      "slug": "en-mashed-potato",
    },
    Object {
      "description": "Eine blob von gemashed Erdapfel",
      "languageCode": "de",
      "name": "de Mashed Potato",
      "slug": "de-mashed-potato",
    },
  ],
  "variants": Array [],
}
`;

exports[`Product resolver product query returns expected properties 1`] = `
Object {
  "assets": Array [
    Object {
      "fileSize": 4,
      "id": "T_2",
      "mimeType": "image/jpeg",
      "name": "alexandru-acea-686569-unsplash.jpg",
      "preview": "test-url/test-assets/alexandru-acea-686569-unsplash__preview.jpg",
      "source": "test-url/test-assets/alexandru-acea-686569-unsplash.jpg",
      "type": "IMAGE",
    },
  ],
  "description": "Discover a truly immersive viewing experience with this monitor curved more deeply than any other. Wrapping around your field of vision the 1,800 R screencreates a wider field of view, enhances depth perception, and minimises peripheral distractions to draw you deeper in to your content.",
  "enabled": true,
  "facetValues": Array [
    Object {
      "code": "electronics",
      "facet": Object {
        "id": "T_1",
        "name": "category",
      },
      "id": "T_1",
      "name": "electronics",
    },
    Object {
      "code": "computers",
      "facet": Object {
        "id": "T_1",
        "name": "category",
      },
      "id": "T_2",
      "name": "computers",
    },
  ],
  "featuredAsset": Object {
    "fileSize": 4,
    "id": "T_2",
    "mimeType": "image/jpeg",
    "name": "alexandru-acea-686569-unsplash.jpg",
    "preview": "test-url/test-assets/alexandru-acea-686569-unsplash__preview.jpg",
    "source": "test-url/test-assets/alexandru-acea-686569-unsplash.jpg",
    "type": "IMAGE",
  },
  "id": "T_2",
  "languageCode": "en",
  "name": "Curvy Monitor",
  "optionGroups": Array [
    Object {
      "code": "curvy-monitor-monitor-size",
      "id": "T_3",
      "languageCode": "en",
      "name": "monitor size",
    },
  ],
  "slug": "curvy-monitor",
  "translations": Array [
    Object {
      "description": "Discover a truly immersive viewing experience with this monitor curved more deeply than any other. Wrapping around your field of vision the 1,800 R screencreates a wider field of view, enhances depth perception, and minimises peripheral distractions to draw you deeper in to your content.",
      "languageCode": "en",
      "name": "Curvy Monitor",
      "slug": "curvy-monitor",
    },
  ],
}
`;

exports[`Product resolver products list query sorts by name 1`] = `
Array [
  "Bonsai Tree",
  "Boxing Gloves",
  "Camera Lens",
  "Clacky Keyboard",
  "Cruiser Skateboard",
  "Curvy Monitor",
  "Football",
  "Gaming PC",
  "Hard Drive",
  "Instant Camera",
  "Laptop",
  "Orchid",
  "Road Bike",
  "Running Shoe",
  "SLR Camera",
  "Skipping Rope",
  "Spiky Cactus",
  "Tent",
  "Tripod",
  "USB Cable",
]
`;
