diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-05-08 13:00:51 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-05-08 13:00:51 -0400 |
| commit | ad3671675719eb11a81245bffbe0fb18880b479b (patch) | |
| tree | 561db1323073a22969bef7c5aa4db4a7fe2ad0ed /frontend/__tests__/CreateItem.test.js | |
| parent | c9a2b488c83dcaae0a00d2177d3bfe1f185c28bf (diff) | |
omg
Diffstat (limited to 'frontend/__tests__/CreateItem.test.js')
| -rw-r--r-- | frontend/__tests__/CreateItem.test.js | 2 |
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' } }); }); |
