joebobmiles / y-react

React bindings for Yjs.
MIT License
32 stars 7 forks source link

Delinquent Tests #5

Open joebobmiles opened 1 year ago

joebobmiles commented 1 year ago

We have two tests that are being skipped right now:

  1. feature/provider/hook/useWebRTC.spec.tsx:68: This test relies on some lib0/crypto stuff that needs to be mocked.
  2. feature/doc/index.spec.tsx:68: This test used a feature of React Hook Testing Library for testing errors. That library is now deprecated and has been folded into React Testing Library. Unfortunately, the new renderHook has a regression that no longer allows error testing and the folks in charge seem more keen to bike-shed a replacement than actually fix the issue.