src/mocks/recipe.js
export const recipeMock = { fields: { title: "Crispy Chicken and Rice with Peas & Arugula Salad", photo: { sys: { space: { sys: { type: "Link", linkType: "Space", id: "kk2bw5ojx476" } }, id: "5mFyTozvSoyE0Mqseoos86", type: "Asset", createdAt: "2018-05-07T13:31:45.501Z", updatedAt: "2018-05-07T13:31:45.501Z", environment: { sys: { id: "master", type: "Link", linkType: "Environment" } }, revision: 1, locale: "en-US" }, fields: { title: "SKU1479 Hero 077-71d8a07ff8e79abcb0e6c0ebf0f3b69c", file: { url: "//images.ctfassets.net/kk2bw5ojx476/5mFyTozvSoyE0Mqseoos86/fb88f4302cfd184492e548cde11a2555/SKU1479_Hero_077-71d8a07ff8e79abcb0e6c0ebf0f3b69c.jpg", details: { size: 230068, image: { width: 1020, height: 680 } }, fileName: "SKU1479_Hero_077-71d8a07ff8e79abcb0e6c0ebf0f3b69c.jpg", contentType: "image/jpeg" } } }, calories: 785, description: "Crispy chicken skin, tender meat, and rich, tomatoey sauce form a winning trifecta of delicious in this one-pot braise. We spoon it over rice and peas to soak up every last drop of goodness, and serve a tangy arugula salad alongside for a vibrant boost of flavor and color. Dinner is served! Cook, relax, and enjoy!",Similar blocks of code found in 3 locations. Consider refactoring. chef: { sys: { space: { sys: { type: "Link", linkType: "Space", id: "kk2bw5ojx476" } }, id: "NysGB8obcaQWmq0aQ6qkC", type: "Entry", createdAt: "2018-05-07T13:29:03.514Z", updatedAt: "2018-05-07T14:19:02.570Z", environment: { sys: { id: "master", type: "Link", linkType: "Environment" } }, revision: 2, contentType: { sys: { type: "Link", linkType: "ContentType", id: "chef" } }, locale: "en-US" }, fields: { name: "Jony Chives" } }, tags: [Similar blocks of code found in 3 locations. Consider refactoring. { sys: { space: { sys: { type: "Link", linkType: "Space", id: "kk2bw5ojx476" } }, id: "61Lgvo6rzUIgIGgcOAMgQ8", type: "Entry", createdAt: "2018-05-07T13:27:25.845Z", updatedAt: "2018-05-07T13:27:25.845Z", environment: { sys: { id: "master", type: "Link", linkType: "Environment" } }, revision: 1, contentType: { sys: { type: "Link", linkType: "ContentType", id: "tag" } }, locale: "en-US" }, fields: { name: "gluten free" } },Similar blocks of code found in 3 locations. Consider refactoring. { sys: { space: { sys: { type: "Link", linkType: "Space", id: "kk2bw5ojx476" } }, id: "gUfhl28dfaeU6wcWSqs0q", type: "Entry", createdAt: "2018-05-07T13:26:53.870Z", updatedAt: "2018-05-07T13:27:08.774Z", environment: { sys: { id: "master", type: "Link", linkType: "Environment" } }, revision: 2, contentType: { sys: { type: "Link", linkType: "ContentType", id: "tag" } }, locale: "en-US" }, fields: { name: "healthy" } } ] }, sys: { id: "437eO3ORCME46i02SeCW46" }}; export const mappedRecipe = { title: "Crispy Chicken and Rice ", subtitle: "with Peas & Arugula Salad", tags: ["gluten free", "healthy"], id: "437eO3ORCME46i02SeCW46", chef: "Jony Chives", url: "//images.ctfassets.net/kk2bw5ojx476/5mFyTozvSoyE0Mqseoos86/fb88f4302cfd184492e548cde11a2555/SKU1479_Hero_077-71d8a07ff8e79abcb0e6c0ebf0f3b69c.jpg", description: "Crispy chicken skin, tender meat, and rich, tomatoey sauce form a winning trifecta of delicious in this one-pot braise. We spoon it over rice and peas to soak up every last drop of goodness, and serve a tangy arugula salad alongside for a vibrant boost of flavor and color. Dinner is served! Cook, relax, and enjoy!"};