diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-09-27 11:56:04 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-09-27 11:56:04 -0400 |
| commit | 3a08a1dd543cdadb8176c90fea9a492f0867dc73 (patch) | |
| tree | e12683468ecbe3742cb993bf37a9dc47a429eaf8 /finished-application/frontend/lib/testUtils.js | |
| parent | cb0b28cc16c5822aabbc00411d64bd1e88f79380 (diff) | |
fixes fake item id #44
Diffstat (limited to 'finished-application/frontend/lib/testUtils.js')
| -rw-r--r-- | finished-application/frontend/lib/testUtils.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/finished-application/frontend/lib/testUtils.js b/finished-application/frontend/lib/testUtils.js index 42739e9..5002c16 100644 --- a/finished-application/frontend/lib/testUtils.js +++ b/finished-application/frontend/lib/testUtils.js @@ -5,7 +5,7 @@ casual.seed(777); const fakeItem = () => ({ __typename: 'Item', - id: '123', + id: 'abc123', price: 5000, user: null, image: 'dog-small.jpg', @@ -76,4 +76,11 @@ class LocalStorageMock { } } -export { LocalStorageMock, fakeItem, fakeUser, fakeCartItem, fakeOrder, fakeOrderItem }; +export { + LocalStorageMock, + fakeItem, + fakeUser, + fakeCartItem, + fakeOrder, + fakeOrderItem, +}; |
