-
-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to pass tests with latest React experimental builds #1498
Comments
facebook/react@65e32e5...79c5829 We probably need to use |
#1512 still fails. Can anyone help? |
It seems like some tests in jotai/tests/utils/atomWithObservable.test.tsx Line 139 in 820f2f1
|
Turns out that the promise inside atomWithObservable is still pending after resolving, then the process got stuck. jotai/src/utils/atomWithObservable.ts Line 84 in a85c1f7
This causes only when the
it works in the browser environment, though. I will continue to work on that. |
@dai-shi facebook/react#25523 (comment) As another option, we could flush the promises manually like this. But still, there are some tests that got stuck in the |
@manakuro Could facebook/react#26512 be related or not? |
@dai-shi I'm not sure the facebook/react#26512 has anything to do with our issue, but the new version, 18.3.0-next-1308e49a6-20230330 seems to have solved the fake timer issue. I have no idea, but it might be related to the changes. Please take a look at my PR. |
#1497 reveals that a test fails with versions between:
https://www.npmjs.com/package/react/v/0.0.0-experimental-79c582981-20221021
and
https://www.npmjs.com/package/react/v/0.0.0-experimental-fecc288b7-20221025.
The text was updated successfully, but these errors were encountered: