You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running a test to detect AR capabilities in the browser. I do this by checking an anchor's relList for 'ar' support with anchor.relList.supports('ar').
However, Jest then fails with TypeError: rel attribute has no supported tokens, instead of simply returning false.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
I'm running a test to detect AR capabilities in the browser. I do this by checking an anchor's relList for 'ar' support with
anchor.relList.supports('ar')
.However, Jest then fails with
TypeError: rel attribute has no supported tokens
, instead of simply returning false.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Simply to return false.
envinfo
The text was updated successfully, but these errors were encountered: