Skip to content

Am I missing something in my jest setup? #3047

Closed Answered by m-bert
atheck asked this question in Q&A
Discussion options

You must be logged in to vote

Oh okay, I get it now. The thing is, jest is similar to web environment, therefore worklets don't make much sense there (or should I say, they simply don't work in that case). Check that throws warning is called while handlers are being attached. At this point, callbacks are already workletized, but in jest it doesn't happen, hence you see the warning. It should be safe to ignore it.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@atheck
Comment options

@m-bert
Comment options

@atheck
Comment options

@m-bert
Comment options

Answer selected by atheck
@atheck
Comment options

@m-bert
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants