Skip to content
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

fix: fix race condition on custom emoji #85

Merged
merged 2 commits into from Dec 19, 2020
Merged

Conversation

nolanlawson
Copy link
Owner

Not sure this is really testable, because it only manifests when IndexedDB takes a while to return. I think fakeIndexedDB just returns in the same turn of the event loop, so we may not be able to catch it. But in any case, this is the fix.

Fixes #84

@nolanlawson
Copy link
Owner Author

OK, managed to find a test that fails before the fix but succeeds after.

@nolanlawson nolanlawson merged commit 9170e19 into master Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting customEmoji on HTML-rendered picker doesn't immediately show custom emoji
1 participant