summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/CreateItem.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/__tests__/CreateItem.test.js')
-rw-r--r--frontend/__tests__/CreateItem.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/__tests__/CreateItem.test.js b/frontend/__tests__/CreateItem.test.js
index 035f172..37e5121 100644
--- a/frontend/__tests__/CreateItem.test.js
+++ b/frontend/__tests__/CreateItem.test.js
@@ -126,7 +126,7 @@ describe('<Createitem/>', () => {
// it submits and matches the mocks
wrapper.find('form').simulate('submit');
// it routes to the item page
- await wait();
+ await wait(50);
expect(Router.router.push).toHaveBeenCalled();
expect(Router.router.push).toHaveBeenCalledWith({ pathname: '/item', query: { id: '123' } });
});