{"action":"opened","issue":{"url":"https://api.github.com/repos/dmitry-zaets/redux-mock-store/issues/155","repository_url":"https://api.github.com/repos/dmitry-zaets/redux-mock-store","labels_url":"https://api.github.com/repos/dmitry-zaets/redux-mock-store/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/dmitry-zaets/redux-mock-store/issues/155/comments","events_url":"https://api.github.com/repos/dmitry-zaets/redux-mock-store/issues/155/events","html_url":"https://github.com/dmitry-zaets/redux-mock-store/issues/155","id":345341381,"node_id":"MDU6SXNzdWUzNDUzNDEzODE=","number":155,"title":"Asserting inside a promise causes Timeout - Async error","user":{"login":"wdchew","id":1538140,"node_id":"MDQ6VXNlcjE1MzgxNDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1538140?v=4","gravatar_id":"","url":"https://api.github.com/users/wdchew","html_url":"https://github.com/wdchew","followers_url":"https://api.github.com/users/wdchew/followers","following_url":"https://api.github.com/users/wdchew/following{/other_user}","gists_url":"https://api.github.com/users/wdchew/gists{/gist_id}","starred_url":"https://api.github.com/users/wdchew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdchew/subscriptions","organizations_url":"https://api.github.com/users/wdchew/orgs","repos_url":"https://api.github.com/users/wdchew/repos","events_url":"https://api.github.com/users/wdchew/events{/privacy}","received_events_url":"https://api.github.com/users/wdchew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-27T19:29:55Z","updated_at":"2018-07-27T19:29:55Z","closed_at":null,"author_association":"NONE","body":"When expecting with Jest inside a promise, causes an error:\r\nError: Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.\r\n\r\nthis doesn't work anymore:\r\n```\r\n        return store.dispatch(actions.saveClient(client)).then(() => {\r\n            expect(store.getActions()).toEqual(expectedActions);\r\n        });\r\n```"}}
{"actor":{"display_login":"wdchew"}}