summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/__snapshots__/Item.test.js.snap
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/__tests__/__snapshots__/Item.test.js.snap')
-rw-r--r--frontend/__tests__/__snapshots__/Item.test.js.snap14
1 files changed, 6 insertions, 8 deletions
diff --git a/frontend/__tests__/__snapshots__/Item.test.js.snap b/frontend/__tests__/__snapshots__/Item.test.js.snap
index f088121..930c7a9 100644
--- a/frontend/__tests__/__snapshots__/Item.test.js.snap
+++ b/frontend/__tests__/__snapshots__/Item.test.js.snap
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`<Item/> Renders an item 1`] = `
+exports[`<Item/> Renders and matches snapshot 1`] = `
<styled.div
key="ABC123"
>
@@ -36,7 +36,7 @@ exports[`<Item/> Renders an item 1`] = `
<Link
href={
Object {
- "pathname": "/admin/update",
+ "pathname": "/update",
"query": Object {
"id": "ABC123",
},
@@ -47,14 +47,12 @@ exports[`<Item/> Renders an item 1`] = `
Edit ✏️
</a>
</Link>
- <Apollo(Apollo(AddToCart))
+ <AddToCart
+ id="ABC123"
+ />
+ <DeleteItem
id="ABC123"
/>
- <button
- onClick={[Function]}
- >
- × Delete item
- </button>
</div>
</styled.div>
`;