For the non-passing tests, a common theme seems to be that document is undefined. I believe this to be related to DOMPurify, and the best solution seems to be removing it from contracts and the service worker.
Other things that are broken, but which should be easier to fix:
Tests currently passing:
For the non-passing tests, a common theme seems to be that
document
is undefined. I believe this to be related to DOMPurify, and the best solution seems to be removing it from contracts and the service worker.Other things that are broken, but which should be easier to fix: