summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/SingleItem.test.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-04-20 16:53:42 -0400
committerWes Bos <wesbos@gmail.com>2018-04-20 16:53:42 -0400
commitae6b07bce815a2dd21741a696eccc64c81587ef4 (patch)
treee3843b3ec9e29ae30f18cda11c165f9792da2fd7 /frontend/__tests__/SingleItem.test.js
parent50c68a28bf877ec24bfa5c18bdb63b30477c407e (diff)
ITS FRIDAY SCREW IT
Diffstat (limited to 'frontend/__tests__/SingleItem.test.js')
-rw-r--r--frontend/__tests__/SingleItem.test.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/__tests__/SingleItem.test.js b/frontend/__tests__/SingleItem.test.js
index 8625e80..bd99ec1 100644
--- a/frontend/__tests__/SingleItem.test.js
+++ b/frontend/__tests__/SingleItem.test.js
@@ -27,11 +27,12 @@ describe('<SingleItem/>', () => {
);
// Check for loading state
expect(wrapper.text()).toContain('Loading...');
+ 1;
// wait for response and refresh
await wait(55);
wrapper.update();
- // Grab the peice we wnat
+ // Grab the piece we want
const Item = wrapper.find('[data-test="SingleItem"]');
// snapshot it!
expect(toJSON(Item)).toMatchSnapshot();