You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue with Jest while running tests for a React Native component called AccountList. This is a "enhanced" component that uses WatermelonDB's withObservables to keep track of a list of accounts:
I'm encountering an issue with Jest while running tests for a React Native component called AccountList. This is a "enhanced" component that uses WatermelonDB's withObservables to keep track of a list of accounts:
I get a message indicates that a worker process has failed to exit gracefully when testing my component.
This is the complete test:
What I've tried so far:
jest.clearAllTimers()
in the afterAll/afterEach hook to clear any remaining timers.jest.clearAllMocks()
in the afterEach hook to clear any mocks.What is the recommended way of setting tests using withObservables?
The text was updated successfully, but these errors were encountered: