Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Hi, I am new to unit testing and need to write some unit test cases for this file. I need to check if the pdf is loaded correctly and if all the annotations are present. I have checked the community of pdftron but have not found any helpful suggestions for unit testing. Please suggest me some ways to write the unit tests for this file. Thanks in Advance.
Hmm, that's tricky. Maybe mocking the PDF return can help here: https://github.com/wojtekmaj/react-pdf/issues/564?