diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-05-02 14:45:20 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-05-02 14:45:20 -0400 |
| commit | f02a5dc73ac4a14c1d641a6ddbfcd2f1bd2ea0b5 (patch) | |
| tree | 514905bb030cb87fbbb686034f49e94b67b88853 /frontend/__tests__/__snapshots__/Item.test.js.snap | |
| parent | ae6b07bce815a2dd21741a696eccc64c81587ef4 (diff) | |
TESTS
Diffstat (limited to 'frontend/__tests__/__snapshots__/Item.test.js.snap')
| -rw-r--r-- | frontend/__tests__/__snapshots__/Item.test.js.snap | 14 |
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> `; |
