Serve PDF tron assets from public folder in unit test env


Using React-based apryse solution, standalone web viewer. f
For testing we have jest and testing-library-react, not able to mock the public assets of pdftron which we copied from the node_modules into the asset (public) folder.
Checked the document, API, Git repos, and forum not able to find any recommendations, please can somebody help us to guide how to serve public assets required for the iframe to work in a test environment

Hi there,
Thanks for contacting us. Due to the differences in test setup it might be hard for us to help you from forum message directly. I’m wondering if you could share a sample project with your test setup so that we can take a look there?