summaryrefslogtreecommitdiffstats
path: root/sick-fits
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-09-27 11:56:04 -0400
committerWes Bos <wesbos@gmail.com>2018-09-27 11:56:04 -0400
commit3a08a1dd543cdadb8176c90fea9a492f0867dc73 (patch)
treee12683468ecbe3742cb993bf37a9dc47a429eaf8 /sick-fits
parentcb0b28cc16c5822aabbc00411d64bd1e88f79380 (diff)
fixes fake item id #44
Diffstat (limited to 'sick-fits')
-rw-r--r--sick-fits/frontend/lib/testUtils.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/sick-fits/frontend/lib/testUtils.js b/sick-fits/frontend/lib/testUtils.js
index 42739e9..5002c16 100644
--- a/sick-fits/frontend/lib/testUtils.js
+++ b/sick-fits/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,
+};