r/learnprogramming • • Dec 12 '19
[ReactJs] Having trouble testing ErrorBoundray with testing-library-react
[deleted] — view deleted post
1
Upvotes
r/learnprogramming • • Dec 12 '19
[deleted] — view deleted post
View all comments
Show parent comment
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.