Jayson Harshbarger
Jayson Harshbarger
Could bypass the `ngxViewerFileHasBeenLoaded` altogether if `ngxViewerFileHasBeenLoaded()` returns the details directly. I can do a PR if you are happy with having `ngxViewerFileHasBeenLoaded` as a global.
Happy new year to you! I haven't look at this in a little while. I belive I had a not so great solution... I'll need to look again.
@stephanrauh Update from me. Since August of last year we've made significant changes to our testing infrastructure (mainly swicthed from Cypress to Playwright for component testing). I belive because of...
> BTW, I'm curious. I've discovered Playwright some time ago, and it works better for me than Cypress. But that's only my experience. I also know developers loving Cypress for...
> I've tried to write a Jest test for ngx-extended-pdf-viewer, but it seems pdf.js requires many resources and libraries that aren't included with standard JSDom. How did you solve the...
> I think I've found the reason why your tests broke after updating. JavaScript modules (_.mjs files) are treated different than traditional JavaScript files (_.js). The former are executed once,...