Replies: 1 comment
-
matchMedia is only available in browsers, so you need to run your test either in a browser, on jsdom or pass |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote a simple test for my App. The App itself works fine.
The test fails with this information:
const autocompleteInstance = autocomplete({
with a little caret by the a in autocomplete
Error: TypeError: O.value.core.environment.matchMedia is not a function
Any idea what might be going on or how I can get a test to pass?
Beta Was this translation helpful? Give feedback.
All reactions