Supporting jsdom with DataTransfer mock #1209
Unanswered
Fallenstedt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed your team has an amazing mock for the
DataTransfer
object: https://github.com/testing-library/user-event/blob/main/src/utils/dataTransfer/DataTransfer.ts#L138-L151Would you team be open to using this code for
jsdom
? Currently, there is no mock forDataTransfer
in jsdom. I'm unsure if there are concerns on your side of using your code in a PR for jsdom: jsdom/jsdom#1568Beta Was this translation helpful? Give feedback.
All reactions