r/learnprogramming • • Dec 12 '19

[ReactJs] Having trouble testing ErrorBoundray with testing-library-react

[deleted] — view deleted post

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Final_Parsec Dec 12 '19

1

u/AllHailTheCATS Dec 12 '19

ErrorBoudray is a class, Ive looked at examples and cant see a difference between my code and them, I dont know why its not throwing the error and rendering my error handling UI.