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

How to test integration with this package? it seems Jest and jsom don't implement DOMRect #236

Closed
carlos-algms opened this issue Nov 13, 2024 · 2 comments
Assignees
Labels
improvement Something could be changed

Comments

@carlos-algms
Copy link
Contributor

What is the problem?

The features seem to be working normally in a real Browser, but they can't be tested because Jest and JsDom don't implement the DOMRect class.

What is the current behavior?

Jest fails immediately because DOMRect isn't implemented.

What is the expected behavior?

it should be possible to test this package using Jest and JsDom.

@carlos-algms carlos-algms added the unconfirmed Problem is not confirmed yet label Nov 13, 2024
@simonwep simonwep added improvement Something could be changed and removed unconfirmed Problem is not confirmed yet improvement Something could be changed labels Nov 13, 2024
@carlos-algms
Copy link
Contributor Author

That was fast 😐
Thank you very much for the fix, I really appreciate 🙇🏻.

@simonwep
Copy link
Owner

You're welcome! I'll see that I can release a new version the coming days :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something could be changed
Projects
None yet
Development

No branches or pull requests

2 participants