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(jest-canvas-mock): improve constructor for dom matrix #118

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

cibernox
Copy link
Contributor

@cibernox cibernox commented Jan 10, 2024

Closes #117

This fixes the constructor so it can receive a DOMMatrix as arguments. That is to be in sync with the real constructor, in which new DOMMatrix(new DOMMatrix(values)) is totally valid.

@cibernox
Copy link
Contributor Author

Gentle ping.

If this could be merged I could make my CI green 😄

@cibernox
Copy link
Contributor Author

@hustcc maybe you have time to review this one? It's really a one liner that will bring the mock closer to spec

@cibernox
Copy link
Contributor Author

cibernox commented Feb 5, 2024

Ping!

@hustcc hustcc merged commit 39fe05b into hustcc:master Feb 5, 2024
1 check passed
@cibernox cibernox deleted the fix-dom-matrix-constructor branch February 5, 2024 22:10
@cibernox
Copy link
Contributor Author

cibernox commented Feb 5, 2024

Thanks! If you could publish a new version that would be great!

Adamfsk added a commit to Adamfsk/jest-webgl-canvas-mock that referenced this pull request May 18, 2024
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.

Bug in the implementation of DOMMatrix.
2 participants