Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Failing tests cause unhandling promise errors #22

Open
milesj opened this issue Sep 12, 2019 · 0 comments
Open

Failing tests cause unhandling promise errors #22

milesj opened this issue Sep 12, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@milesj
Copy link
Owner

milesj commented Sep 12, 2019

Non-async renders and dispatches are causing the following:

(node:19356) UnhandledPromiseRejectionWarning: Error: Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s
(node:19356) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:19356) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Seems to happen randomly. Need to figure out why.

@milesj milesj added the bug Something isn't working label Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant