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

tests: fix window.matchMedia is not a function #647

Merged

Conversation

ptamarit
Copy link
Member

❤️ Thank you for your contribution!

Description

CI tests are broken since commit 89834c3.
This PR fixes the tests by mocking window.matchMedia (as for instance done in react-invenio-app-ils).

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

@ptamarit ptamarit merged commit 0cf130d into inveniosoftware:master May 17, 2024
2 checks passed
@ptamarit ptamarit deleted the fix-tests-window-matchmedia-error branch May 17, 2024 08:29
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.

None yet

1 participant