Testing Y Scroll position in jest / react testing library

后端 未结 0 1098
无人共我
无人共我 2021-01-29 01:28

I\'m having a bit of a hard time with a test.

I have an anchor that scrolls the page, and I\'m trying to test the Y position of the page to ensure it actually works. I\'

相关标签:
回答
  • 消灭零回复
提交回复
热议问题