From ad3671675719eb11a81245bffbe0fb18880b479b Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Tue, 8 May 2018 13:00:51 -0400 Subject: omg --- frontend/__tests__/CreateItem.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/__tests__/CreateItem.test.js') 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('', () => { // 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' } }); }); -- cgit v1.3